Commit 45d42d3c authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren prime/rest.py

parent 4ae89fb0
......@@ -28,7 +28,7 @@ def cache(key, value):
if not os.getenv('REDIS'):
return None
try:
redis.set(key, val)
redis.set(key, value)
return val
except Exception as ex:
log.error(f"Redis write for {key} failed due to {ex}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment