Commit 457b2ab6 authored by Martin Matějek's avatar Martin Matějek

fixup! fixup! Quick hack to prevent crashing on malformed json files

parent 707b10f9
......@@ -53,7 +53,7 @@ class Notification:
nid = cls._generate_id()
ts = int(datetime.utcnow().timestamp())
n = cls(nid, ts, skel, **opts)
n = cls(nid, api_version, ts, skel, **opts)
return n
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