unnecessary f-string

This commit is contained in:
Damien Elmes 2020-08-04 17:52:49 +10:00
parent 0673193f27
commit 18c59c60a4

View File

@ -126,7 +126,7 @@ def allroutes(pathin):
if flask.request.method == "POST": if flask.request.method == "POST":
if not aqt.mw.col: if not aqt.mw.col:
print(f"collection not open, ignore request for {path}") print(f"collection not open, ignore request for {path}")
return flask.make_response(f"Collection not open", HTTPStatus.NOT_FOUND) return flask.make_response("Collection not open", HTTPStatus.NOT_FOUND)
if path == "graphData": if path == "graphData":
body = request.data body = request.data