From bef244ba772fffc6ec70c159c5fd38a52b7bfcd7 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 6 May 2019 14:28:12 -0400 Subject: [PATCH] dont make duplicate files --- 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 242ff99ed..aa2f93610 100644 --- a/lbrynet/stream/stream_manager.py +++ b/lbrynet/stream/stream_manager.py @@ -342,7 +342,7 @@ class StreamManager: if save_file and updated_stream.output_file_exists: save_file = False await updated_stream.start(node=self.node, timeout=timeout, save_now=save_file) - if save_file or file_name or download_directory: + if not updated_stream.output_file_exists and (save_file or file_name or download_directory): await updated_stream.save_file( file_name=file_name, download_directory=download_directory, node=self.node )