Fixes re: zognia's testing #2

Merged
skeh merged 11 commits from feat/zogpog into main 2025-01-24 08:28:14 +00:00
Showing only changes of commit 50eb6b594d - Show all commits

View file

@ -74,7 +74,7 @@ class CuePlugin(PluginBase):
cue = Cue(repeat, **kwargs)
async def handler():
# Repetion management
# Repetition management
if not cue.enabled:
return
if cue.repeat:
@ -114,7 +114,7 @@ class CuePlugin(PluginBase):
async def _cleanup(self):
while True:
await asyncio.sleep(60)
for name, (cue, _) in self.cues.items():
for name, (cue, _) in list(self.cues.items()):
if cue.is_obsolete():
del self.cues[name]
if task := self.tasks.get(name):