From 0fa6c443b4554b526fff5f1e80307b615cea900f Mon Sep 17 00:00:00 2001 From: manusaurio Date: Sun, 22 Dec 2019 03:45:15 -0300 Subject: Add space in condition Co-Authored-By: Mark --- bot/cogs/moderation/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/cogs/moderation/utils.py b/bot/cogs/moderation/utils.py index 8328e4c85..d0eaba7c8 100644 --- a/bot/cogs/moderation/utils.py +++ b/bot/cogs/moderation/utils.py @@ -91,7 +91,7 @@ async def post_infraction( response = await ctx.bot.api_client.post('bot/infractions', json=payload) return response except ResponseCodeError as exp: - if exp.status == 400 and 'user'in exp.response_json: + if exp.status == 400 and 'user' in exp.response_json: # Only one attempt to add the user to the database, not two: if not should_post_user or await post_user(ctx, user) is None: return -- cgit v1.2.3