From 9ec3d3673e24ada5624423d8d95892f90f8b90e4 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Sun, 22 Apr 2018 12:06:00 +0200 Subject: [PATCH] Convert the config uid to a string --- config/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/server.py b/config/server.py index 37db30a2..febc8037 100644 --- a/config/server.py +++ b/config/server.py @@ -58,7 +58,7 @@ def build_app(setup_path): @bp.route("/submit", methods=["POST"]) def submit(): - uid = uuid.uuid4() + uid = str(uuid.uuid4()) data = flask.request.form.copy() data.update(dict(uid=uid, version=version)) db.set(uid, json.dumps(data))