summaryrefslogtreecommitdiffstats
path: root/back
diff options
context:
space:
mode:
authorsyn <isaqtm@gmail.com>2021-03-16 22:31:47 +0300
committersyn <isaqtm@gmail.com>2021-03-16 22:31:47 +0300
commit600d06c9ab68ff968d36d92e5b37755069c3b355 (patch)
tree5686cd59ee321d16e8d0c7970cf733aeccd8ec6d /back
parentde3e9c8476b48fd80a94612c534ffb04718dab5b (diff)
downloadupnet-600d06c9ab68ff968d36d92e5b37755069c3b355.tar.gz
no debug by default
Diffstat (limited to 'back')
-rw-r--r--back/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/back/config.py b/back/config.py
index 6fbfd95..e3cc800 100644
--- a/back/config.py
+++ b/back/config.py
@@ -11,7 +11,7 @@ if modpath.endswith(".pyc") and os.path.exists(modpath[:-1]):
APP_DIR = os.path.realpath(os.path.dirname(modpath))
REDIS_HOST = "localhost"
-debug = True
+debug = 'debug' in sys.argv
sanic_host = "localhost"
sanic_port = 8001