summaryrefslogtreecommitdiff
path: root/src/home/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/config')
-rw-r--r--src/home/config/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/config/config.py b/src/home/config/config.py
index 9882bfa..7d18f99 100644
--- a/src/home/config/config.py
+++ b/src/home/config/config.py
@@ -113,7 +113,7 @@ config = ConfigStore()
def is_development_mode() -> bool:
- if 'FLASK_ENV' in os.environ and os.environ['FLASK_ENV'] == 'development':
+ if 'HK_MODE' in os.environ and os.environ['HK_MODE'] == 'dev':
return True
return ('logging' in config) and ('verbose' in config['logging']) and (config['logging']['verbose'] is True)