diff options
author | 2019-01-03 20:11:18 +0100 | |
---|---|---|
committer | 2019-01-03 20:11:18 +0100 | |
commit | 8a37697033a2a18283d3c5b7f060e05a191deb35 (patch) | |
tree | b62a7e458cfad522037d4d4685ccf239799ee137 | |
parent | Add testing step to CI. (diff) |
Remove obsolete `user is None` check.
-rw-r--r-- | bot/cogs/sync/syncers.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/cogs/sync/syncers.py b/bot/cogs/sync/syncers.py index 2334a0ace..92c866357 100644 --- a/bot/cogs/sync/syncers.py +++ b/bot/cogs/sync/syncers.py @@ -148,9 +148,6 @@ async def sync_users(bot: Bot, guild: Guild): log.info("Updating a total of `%d` users on the site.", len(users_to_update)) for user in users_to_update: - if user is None: # ?? - continue - await bot.api_client.put( 'bot/users/' + str(user.id), json={ |