Browse Source

POST was fully broken

master
Pete Shadbolt 7 years ago
parent
commit
c0145ed074
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app.py

+ 1
- 1
app.py View File

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


Loading…
Cancel
Save