Browse Source

new version

meolu 6 years ago
parent
commit
d86e85a9a4
2 changed files with 2 additions and 2 deletions
  1. 1 1
      autoapp.py
  2. 1 1
      waller.py

+ 1 - 1
autoapp.py

@@ -8,7 +8,7 @@ from walle.config.settings_dev import DevConfig
 from walle.config.settings_test import TestConfig
 from walle.config.settings_prod import ProdConfig
 
-CONFIG = DevConfig if get_debug_flag(default=True) else ProdConfig
+CONFIG = DevConfig if get_debug_flag() else ProdConfig
 
 # from flask_login import current_user
 

+ 1 - 1
waller.py

@@ -8,7 +8,7 @@ from walle.config.settings_dev import DevConfig
 from walle.config.settings_test import TestConfig
 from walle.config.settings_prod import ProdConfig
 
-CONFIG = DevConfig if get_debug_flag(default=True) else ProdConfig
+CONFIG = DevConfig if get_debug_flag() else ProdConfig
 
 if len(sys.argv) > 2 and sys.argv[2] == 'test':
     CONFIG = TestConfig