parent
ddb9c4041b
commit
96136e8e46
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ def download_file(out_path, source_url, as_new=False, overwrite=False, referer=N
|
|||
download_msg = f'Downloading {name}...'
|
||||
if as_new:
|
||||
out_path = out_path.with_suffix(f'{out_path.suffix}.new')
|
||||
overwrite = True
|
||||
print(download_msg, end='', flush=True)
|
||||
|
||||
# Avoid clobbering
|
||||
|
|
|
|||
Loading…
Reference in a new issue