From 7e1a4748759ee11b9bea9ce5dcb61b981f5637b9 Mon Sep 17 00:00:00 2001 From: Renaud Boyer Date: Sun, 6 Dec 2020 18:02:47 +0100 Subject: [PATCH] linting --- app/oauth/views/token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/oauth/views/token.py b/app/oauth/views/token.py index a5296365..eb0dd4ef 100644 --- a/app/oauth/views/token.py +++ b/app/oauth/views/token.py @@ -54,7 +54,7 @@ def token(): return jsonify(error=f"{code} already expired"), 400 if auth_code.client_id != client.id: - return jsonify(error=f"are you sure this code belongs to you?"), 400 + return jsonify(error="are you sure this code belongs to you?"), 400 LOG.debug( "Create Oauth token for user %s, client %s", auth_code.user, auth_code.client