From dd4d5b5bb7dd8d0b36b724dd7807e0c3a39ced6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 15 Mar 2019 17:46:13 +0100 Subject: [PATCH] fix: No need to decode the key we only dump. --- bgpranking/querying.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpranking/querying.py b/bgpranking/querying.py index 0dd9528..56da2a5 100644 --- a/bgpranking/querying.py +++ b/bgpranking/querying.py @@ -23,7 +23,7 @@ class Querying(): def __init__(self, loglevel: int=logging.DEBUG): self.__init_logger(loglevel) self.storage = StrictRedis(unix_socket_path=get_socket_path('storage'), decode_responses=True) - self.ranking = StrictRedis(unix_socket_path=get_socket_path('storage'), db=1, decode_responses=True) + self.ranking = StrictRedis(unix_socket_path=get_socket_path('storage'), db=1) self.asn_meta = StrictRedis(unix_socket_path=get_socket_path('storage'), db=2, decode_responses=True) self.cache = StrictRedis(unix_socket_path=get_socket_path('cache'), db=1, decode_responses=True)