From f642cfe9ddc60c8792c3e88480f52846ac0cb0e3 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 6 May 2019 12:51:51 -0400 Subject: [PATCH] fix resuming save tasks on startup --- lbrynet/stream/stream_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbrynet/stream/stream_manager.py b/lbrynet/stream/stream_manager.py index bdf63f137..262565c70 100644 --- a/lbrynet/stream/stream_manager.py +++ b/lbrynet/stream/stream_manager.py @@ -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: