From 0ff8d1d429f4d8da79d41d315da0c11f77eafd47 Mon Sep 17 00:00:00 2001 From: Ashiq5 Date: Thu, 5 Nov 2020 22:37:30 +0600 Subject: [PATCH] minor --- management/daemon.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/management/daemon.py b/management/daemon.py index 2cb3946d..5efb93b5 100755 --- a/management/daemon.py +++ b/management/daemon.py @@ -685,8 +685,7 @@ def log_failed_login(request): # APP if __name__ == '__main__': - app.debug = True # TODO: remove this line and uncomment the next line after testing - # if "DEBUG" in os.environ: app.debug = True + if "DEBUG" in os.environ: app.debug = True if "APIKEY" in os.environ: auth_service.key = os.environ["APIKEY"] if not app.debug: