mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-31 02:19:09 -04:00
reset done to False if a download is still in progress
This commit is contained in:
parent
ffdbf8dec1
commit
b398d238d2
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ def download(slug_candidate):
|
|||
sys.stdout.flush()
|
||||
|
||||
add_request(REQUEST_PROGRESS, path, {'id': download_id, 'bytes': downloaded_bytes})
|
||||
done = False
|
||||
except:
|
||||
# looks like the download was canceled
|
||||
done = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue