Merge pull request #1 from MaStr/master
rs5002redis: Password is stored as string and not int
This commit is contained in:
commit
70ec3dd96a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue