Update changedetectionio/__init__.py

This commit is contained in:
dgtlmoon
2022-12-04 14:43:46 +01:00
committed by GitHub
parent 00be226210
commit 5219698b07
+1 -1
View File
@@ -203,7 +203,7 @@ def changedetection_app(config=None, datastore_o=None):
resource_class_kwargs={'datastore': datastore, 'update_q': update_q})
def getDarkModeSetting():
return datastore.data['settings']['application']['css_dark_mode']
return datastore.data['settings']['application'].get('css_dark_mode')
# Setup cors headers to allow all domains
# https://flask-cors.readthedocs.io/en/latest/