Update changedetectionio/__init__.py

pull/1186/head
dgtlmoon 2 years ago committed by GitHub
parent 00be226210
commit 5219698b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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/

Loading…
Cancel
Save