diff --git a/qt/aqt/mediasrv.py b/qt/aqt/mediasrv.py index 32414a457..5da2eec33 100644 --- a/qt/aqt/mediasrv.py +++ b/qt/aqt/mediasrv.py @@ -126,7 +126,7 @@ def allroutes(pathin): if flask.request.method == "POST": if not aqt.mw.col: 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": body = request.data