Skip to content

Commit

Permalink
remove redundant loop
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-zaidali committed Jul 30, 2023
1 parent b6565b9 commit dd61a19
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions timer/timers.py
Expand Up @@ -54,9 +54,6 @@ async def initialize(cls, bot):
x.update({"bot": bot})
timer = TimerObj.from_json(x)
await self.add_timer(timer)

for k, v in self.cache.items():
for timer in v:
TimerObj._tasks[timer.message_id] = asyncio.create_task(timer._start_edit_task())

self.max_duration: int = await self.config.max_duration()
Expand Down

0 comments on commit dd61a19

Please sign in to comment.