aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/utility/tools.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 77db5d53..37f9d8fe 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -5,7 +5,10 @@ import os
import sys
import json
-from wqflask import app
+try:
+ from wqflask import app
+except ImportError:
+ from wqflask.wqflask import app
# Use the standard logger here to avoid a circular dependency
import logging