Commit 098f819e authored by Ryan Herbert's avatar Ryan Herbert

file.py ensure we are pasing a digit to string modifier

an id was being passed as unicode when editing an element (due to json
decoding).
parent ee16a54d
Pipeline #19905 passed with stages
in 39 seconds
......@@ -245,7 +245,7 @@ def submit():
action = "add"
f['message'] = []
mes = "file (%d) %s %sed" % (f["id"], f["filename"], action)
mes = "file (%d) %s %sed" % (int(f["id"]), f["filename"], action)
f['message'].append(mes)
f['message'].append("You must reselect the file for it to be uploaded")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment