From 5c1ab42277dd8a42692da1b1973f7f6e33f81353 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 13 Feb 2019 20:41:57 -0300 Subject: [PATCH] resume should put the stream into wait as done usually on get calls --- lbrynet/stream/stream_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/stream/stream_manager.py b/lbrynet/stream/stream_manager.py index 79e0fff63..01f3459ba 100644 --- a/lbrynet/stream/stream_manager.py +++ b/lbrynet/stream/stream_manager.py @@ -161,7 +161,7 @@ class StreamManager: else: log.warning("no DHT node given, resuming downloads trusting that we can contact reflector") t = [ - stream.start_download(self.node) + (stream.start_download(self.node), self.wait_for_stream_finished(stream)) for stream in self.streams if stream.status == ManagedStream.STATUS_RUNNING ] if t: