From 738ed2451eeb305450404f6601369aa40ca25c09 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Fri, 20 Sep 2024 11:55:32 +0300 Subject: Minor fix: remove unused variable name. --- gn2/wqflask/api/markdown.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gn2/wqflask') diff --git a/gn2/wqflask/api/markdown.py b/gn2/wqflask/api/markdown.py index 5dcc546d..2fb849ea 100644 --- a/gn2/wqflask/api/markdown.py +++ b/gn2/wqflask/api/markdown.py @@ -249,11 +249,6 @@ def blogs_list(): @gn_docs_blueprint.errorhandler(requests.exceptions.HTTPError) def request_exception_handler(error): """Handler for gn-docs blueprint http errors""" - data = { - "error_reason": error.response.reason, - "error_status_code": error.response.status_code, - "error_msg": error.response.text, - } return render_template( "gn_docs_errors.html", error_reason=error.response.reason, -- cgit v1.2.3