aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Manuel Ignacio Pérez Alcolea <[email protected]>2019-12-16 01:57:18 -0300
committerGravatar Manuel Ignacio Pérez Alcolea <[email protected]>2019-12-16 01:57:18 -0300
commit051565d6778bea9893de21d7df1114526ec812ed (patch)
tree2b94aa718c3ad01afaa20ecbbf680815d5e8a879
parentAdd FetchedUser to convert ids of absent users to `discord.User` (diff)
Remove pointless comma after last argument
-rw-r--r--bot/cogs/moderation/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/moderation/utils.py b/bot/cogs/moderation/utils.py
index 325b9567a..044c6f8d1 100644
--- a/bot/cogs/moderation/utils.py
+++ b/bot/cogs/moderation/utils.py
@@ -58,7 +58,7 @@ async def post_infraction(
reason: str,
expires_at: datetime = None,
hidden: bool = False,
- active: bool = True,
+ active: bool = True
) -> t.Optional[dict]:
"""Posts an infraction to the API."""
log.trace(f"Posting {infr_type} infraction for {user} to the API.")