fix: decode redis in ZMQ

pull/3443/head
Steve Clement 2018-07-05 11:02:09 -04:00
parent e3bb200ac1
commit f1d42f1772
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class MISPZMQ():
self.settings = json.load(settings_file)
self.namespace = self.settings["redis_namespace"]
self.r = redis.StrictRedis(host=self.settings["redis_host"], db=self.settings["redis_database"],
password=self.settings["redis_password"], port=self.settings["redis_port"])
password=self.settings["redis_password"], port=self.settings["redis_port"], decode_responses=True)
self.timestampSettings = time.time()
def handleCommand(self, command):