We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51dbeaa commit 59c4986Copy full SHA for 59c4986
forward/forward.py
@@ -53,7 +53,7 @@ async def _handle_automatic_unblock(self):
53
54
async def _process_expired_blocks(self):
55
async with self.config.blocked() as blocked:
56
- for userid, until in blocked:
+ for userid, until in enumerate(blocked):
57
if datetime.now(timezone.utc).timestamp() > until:
58
del blocked[userid]
59
0 commit comments