Fixes re: zognia's testing #2
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue