Parcourir la source

POST was fully broken

master
Pete Shadbolt il y a 6 ans
Parent
révision
c0145ed074
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      app.py

+ 1
- 1
app.py Voir le fichier

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


Chargement…
Annuler
Enregistrer