From 600d06c9ab68ff968d36d92e5b37755069c3b355 Mon Sep 17 00:00:00 2001 From: syn Date: Tue, 16 Mar 2021 22:31:47 +0300 Subject: no debug by default --- back/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1-18-gbd029