mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-19 11:42:43 +00:00
gh-rel: bugfix
This commit is contained in:
parent
ed075641e9
commit
ab221923e0
@ -87,12 +87,12 @@ def downloading_worker(q):
|
||||
if item is None:
|
||||
break
|
||||
|
||||
url, dst_file, working_dir, updated = item
|
||||
url, dst_file, working_dir, updated, remote_size = item
|
||||
|
||||
print("downloading", url, "to",
|
||||
dst_file.relative_to(working_dir), flush=True)
|
||||
try:
|
||||
do_download(url, dst_file, updated)
|
||||
do_download(url, dst_file, updated, remote_size)
|
||||
except Exception:
|
||||
print("Failed to download", url, flush=True)
|
||||
if dst_file.is_file():
|
||||
|
Loading…
x
Reference in New Issue
Block a user