aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorAlexander_Kabui2024-09-20 11:55:32 +0300
committerAlexander_Kabui2024-09-20 11:55:32 +0300
commit738ed2451eeb305450404f6601369aa40ca25c09 (patch)
tree1547e728f16329437dec8c8d045068d3d3eeafa1 /gn2
parentd4eb237a8450e537cdaad2c87731383cf773150e (diff)
downloadgenenetwork2-738ed2451eeb305450404f6601369aa40ca25c09.tar.gz
Minor fix: remove unused variable name.
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/api/markdown.py5
1 files changed, 0 insertions, 5 deletions
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,