diff --git a/spond/spond.py b/spond/spond.py index 9eb71a5..8664da2 100644 --- a/spond/spond.py +++ b/spond/spond.py @@ -403,9 +403,9 @@ async def update_event(self, uid, updates: dict): } for key in base_event: - if event.get(key) != None and not updates.get(key): + if event.get(key) is not None and not updates.get(key): base_event[key] = event[key] - elif updates.get(key) != None: + elif updates.get(key) is not None: base_event[key] = updates[key] data = dict(base_event)