Skip to content
Snippets Groups Projects
Commit 321df1ec authored by inso's avatar inso
Browse files

Fix issue #500

parent dd90a0bb
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,9 @@ class Application(QObject):
try:
with open(account_notifications_path, 'r') as json_data:
data = json.load(json_data)
account.notifications = data
for notification in data:
if notification in account.notifications:
account.notifications[notification] = data[notification]
except FileNotFoundError:
logging.debug("Could not find notifications file")
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment