aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-10-25 15:22:36 -0700
committerGravatar MarkKoz <[email protected]>2019-10-25 17:11:45 -0700
commit757adde72470b1e54e96990894563ee3e52f3538 (patch)
tree28f006bb8774641c35f01160b7d78d7631882978
parentSuperstarify: save the old nickname before editing it (diff)
InfractionScheduler: remove redundant logging
-rw-r--r--bot/cogs/moderation/scheduler.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/cogs/moderation/scheduler.py b/bot/cogs/moderation/scheduler.py
index 74ff62981..7990df226 100644
--- a/bot/cogs/moderation/scheduler.py
+++ b/bot/cogs/moderation/scheduler.py
@@ -362,10 +362,7 @@ class InfractionScheduler(Scheduler):
At the time of expiration, the infraction is marked as inactive on the website and the
expiration task is cancelled.
"""
- _id = infraction["id"]
-
expiry = dateutil.parser.isoparse(infraction["expires_at"]).replace(tzinfo=None)
await time.wait_until(expiry)
- log.debug(f"Marking infraction {_id} as inactive (expired).")
await self.deactivate_infraction(infraction)