fix resuming save tasks on startup
This commit is contained in:
parent
24e073680b
commit
f642cfe9dd
1 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,8 @@ class StreamManager:
|
|||
t = [
|
||||
self.loop.create_task(
|
||||
stream.start(node=self.node, save_now=(stream.full_path is not None))
|
||||
if not stream.full_path else
|
||||
stream.save_file(node=self.node)
|
||||
) for stream in self.streams.values() if stream.running
|
||||
]
|
||||
if t:
|
||||
|
|
Loading…
Reference in a new issue