Skip to content

Commit 59c4986

Browse files
committed
Update forward.py
1 parent 51dbeaa commit 59c4986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forward/forward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async def _handle_automatic_unblock(self):
5353

5454
async def _process_expired_blocks(self):
5555
async with self.config.blocked() as blocked:
56-
for userid, until in blocked:
56+
for userid, until in enumerate(blocked):
5757
if datetime.now(timezone.utc).timestamp() > until:
5858
del blocked[userid]
5959

0 commit comments

Comments
 (0)