mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-23 22:06:58 +00:00
Update changedetectionio/__init__.py
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user