Skip to content
Snippets Groups Projects
Unverified Commit 50572db8 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Use if `is not None`

parent acb62a7c
No related branches found
No related tags found
No related merge requests found
......@@ -393,7 +393,7 @@ class ClientIpStore(background_updates.BackgroundUpdateStore):
"""
keyvalues = {"user_id": user_id}
if device_id:
if device_id is not None:
keyvalues["device_id"] = device_id
res = yield self._simple_select_list(
......
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