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