Write to {filename}.temp when downloading

This commit is contained in:
Ritiek Malhotra
2020-05-09 20:09:00 +05:30
parent e0362b6e8c
commit 4abdecf9ec
2 changed files with 12 additions and 5 deletions

View File

@@ -307,7 +307,7 @@ class Arguments:
if self.parsed.output_file == "-" and self.parsed.no_metadata is False:
logger.warn(
"Cannot write metadata when target file is STDOUT. Pass "
"Cannot write metadata when target is STDOUT. Pass "
"--no-metadata explicitly to hide this warning."
)
self.parsed.no_metadata = True