Commit 3cc76fa0 authored by Tijmen de Mes's avatar Tijmen de Mes

Replaced JSONDecodeError by ValueError

parent bf2969a8
...@@ -751,7 +751,7 @@ class MessageManager(object, metaclass=Singleton): ...@@ -751,7 +751,7 @@ class MessageManager(object, metaclass=Singleton):
else: else:
try: try:
data = r.json() data = r.json()
except json.JSONDecodeError: except ValueError:
pass pass
else: else:
notification_center = NotificationCenter() notification_center = NotificationCenter()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment