diff options
| author | 2019-10-25 15:22:36 -0700 | |
|---|---|---|
| committer | 2019-10-25 17:11:45 -0700 | |
| commit | 757adde72470b1e54e96990894563ee3e52f3538 (patch) | |
| tree | 28f006bb8774641c35f01160b7d78d7631882978 | |
| parent | Superstarify: save the old nickname before editing it (diff) | |
InfractionScheduler: remove redundant logging
| -rw-r--r-- | bot/cogs/moderation/scheduler.py | 3 | 
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) | 
