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):
else:
try:
data = r.json()
except json.JSONDecodeError:
except ValueError:
pass
else:
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