Skip to content

Commit

Permalink
explain existing file err
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Mar 29, 2020
1 parent 7ffc104 commit 5dcb7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SlideServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def finish_upload(token):
else:
return flask.Response(json.dumps({"error": "Token Not Recognised"}), status=400)
else:
return flask.Response(json.dumps({"error": "Invalid filename"}), status=400)
return flask.Response(json.dumps({"error": "File with name '" + filename + "' already exists"}), status=400)

else:
return flask.Response(json.dumps({"error": "Invalid filename"}), status=400)
Expand Down

0 comments on commit 5dcb7f9

Please sign in to comment.