From 18c59c60a40ce2eb22d02d96731fe65870f3375e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 4 Aug 2020 17:52:49 +1000 Subject: [PATCH] unnecessary f-string --- qt/aqt/mediasrv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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