rs5002redis: Password is stored as string and not int

This commit is contained in:
Matthias Strubel 2018-08-16 22:09:11 +02:00
parent 5099980089
commit e5e8a38ec6
1 changed files with 1 additions and 1 deletions

View File

@ -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: