1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00

Convert the config uid to a string

This commit is contained in:
kaiyou 2018-04-22 12:06:00 +02:00
parent 002198d3d3
commit 9ec3d3673e

View File

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