aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)