mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-26 23:13:24 +00:00
dont make duplicate files
This commit is contained in:
parent
3c231d6215
commit
bef244ba77
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ class StreamManager:
|
||||||
if save_file and updated_stream.output_file_exists:
|
if save_file and updated_stream.output_file_exists:
|
||||||
save_file = False
|
save_file = False
|
||||||
await updated_stream.start(node=self.node, timeout=timeout, save_now=save_file)
|
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(
|
await updated_stream.save_file(
|
||||||
file_name=file_name, download_directory=download_directory, node=self.node
|
file_name=file_name, download_directory=download_directory, node=self.node
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue