aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-12 08:57:58 -0500
committerFrederick Muriuki Muriithi2024-09-12 08:57:58 -0500
commit64c34e14de60f4c886587ebe35cfccfdcff2e0b4 (patch)
tree799000dbfeff959b2b2bdd8686f56bf1703951ae /gn3
parente5fb91296bb91e61b9822cd12e04da24a0e99060 (diff)
downloadgenenetwork3-64c34e14de60f4c886587ebe35cfccfdcff2e0b4.tar.gz
BugFix: assign value and use variable.
Diffstat (limited to 'gn3')
-rw-r--r--gn3/debug.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/debug.py b/gn3/debug.py
index 3c88bd3..945e237 100644
--- a/gn3/debug.py
+++ b/gn3/debug.py
@@ -2,11 +2,11 @@
import logging
from flask import current_app
-__this_module_name__ == __name__
+__this_module_name__ = __name__
def getLogger():
return (
- logging.getLogger(__name__)
+ logging.getLogger(__this_module_name__)
if not bool(current_app)
else current_app.logger)