Merge pull request #1 from MaStr/master

rs5002redis: Password is stored as string and not int
This commit is contained in:
Juergen Edelbluth 2018-08-17 22:39:33 +02:00 committed by GitHub
commit 70ec3dd96a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: