diff options
| author | 2020-12-02 17:58:25 +0200 | |
|---|---|---|
| committer | 2020-12-02 17:58:25 +0200 | |
| commit | fc5930775ee2ae33ba88264a08c10b83761a8781 (patch) | |
| tree | 4bc6e7c53ee61a2054228538341ea575886d9498 | |
| parent | Log exception instead warning for unexpected HttpException (diff) | |
Remove second unnecessary parenthesis
| -rw-r--r-- | bot/exts/moderation/infraction/_scheduler.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bot/exts/moderation/infraction/_scheduler.py b/bot/exts/moderation/infraction/_scheduler.py index 22739d332..8a45692d5 100644 --- a/bot/exts/moderation/infraction/_scheduler.py +++ b/bot/exts/moderation/infraction/_scheduler.py @@ -84,10 +84,8 @@ class InfractionScheduler: ) else: log.exception( - ( - f"Got unexpected HTTPException (HTTP {e.status}, Discord code {e.code})" - f"when awaiting {infraction['type']} coroutine for {infraction['user']}." - ) + f"Got unexpected HTTPException (HTTP {e.status}, Discord code {e.code})" + f"when awaiting {infraction['type']} coroutine for {infraction['user']}." ) else: log.info(f"Re-applied {infraction['type']} to user {infraction['user']} upon rejoining.") |