Update getting debug env

This commit is contained in:
n07070 committed 2026-10-11 21:46:05 +02:00
1 parent 8af9c55d22
commit 840417205b
1 file changed
+2 -2
+2 -2
View File
@@ -83,7 +83,7 @@ except PermissionError:
sys.exit(77)
# Output the config file
if os.getenv("FLASK_DEBUG"):
if not os.getenv("FLASK_DEBUG") is None and os.getenv("FLASK_DEBUG") is True:
pprint.pprint(configuration_file)
# We define the app module used by Flask
@@ -402,4 +402,4 @@ def camera_status():
if __name__ == "__main__":
app.run(debug=True, use_reloader=False, host="0.0.0.0", ssl_context="adhoc")
app.run(use_reloader=False, host="0.0.0.0", ssl_context="adhoc")