From e5e8a38ec6df10e43a9a00bb443cf1db99d4949c Mon Sep 17 00:00:00 2001 From: Matthias Strubel Date: Thu, 16 Aug 2018 22:09:11 +0200 Subject: [PATCH] rs5002redis: Password is stored as string and not int --- src/rs5002redis/saver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rs5002redis/saver.py b/src/rs5002redis/saver.py index 5baa1b1..0fd5972 100644 --- a/src/rs5002redis/saver.py +++ b/src/rs5002redis/saver.py @@ -10,7 +10,7 @@ def save_data_to_redis(data: dict, config_file: str) -> None: host = conf.get(section='redis', option='host', fallback='localhost') port = conf.getint(section='redis', option='port', fallback=6379) db = conf.getint(section='redis', option='db', fallback=0) - password = conf.getint(section='redis', option='password', fallback=None) + password = conf.get(section='redis', option='password', fallback=None) ttl = conf.getint(section='redis', option='result_lifetime_seconds', fallback=30) prefix = conf.get(section='redis', option='prefix', fallback='') try: