diff options
| author | 2019-12-22 03:45:15 -0300 | |
|---|---|---|
| committer | 2019-12-22 03:45:15 -0300 | |
| commit | 0fa6c443b4554b526fff5f1e80307b615cea900f (patch) | |
| tree | 082b3893b5985d97f722bc2e9aaa4e422e60cf59 | |
| parent | Correct log messages levels, add log messages and ctx.send message (diff) | |
Add space in condition
Co-Authored-By: Mark <[email protected]>
| -rw-r--r-- | bot/cogs/moderation/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |