diff --git a/app.py b/app.py index 677f215..e5a82b7 100644 --- a/app.py +++ b/app.py @@ -29,7 +29,7 @@ def graph(uuid): data = json.dumps(g.to_json(stringify=True)) # Insert into the database - redis.setex(uuid, data, DAY) + redis.setex(uuid, DAY, data) # Return success return "Posted {} bytes OK".format(len(data))