From 8a37697033a2a18283d3c5b7f060e05a191deb35 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Thu, 3 Jan 2019 20:11:18 +0100 Subject: Remove obsolete `user is None` check. --- bot/cogs/sync/syncers.py | 3 --- 1 file changed, 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={ -- cgit v1.2.3