Merge branch 'fix_simultaneous_downloads' of https://github.com/mig5/onionshare into mig5-fix_simultaneous_downloads

This commit is contained in:
Micah Lee 2018-02-19 17:44:53 -08:00
commit 97c41c637e
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -305,6 +305,7 @@ def download(slug_candidate):
sys.stdout.flush() sys.stdout.flush()
add_request(REQUEST_PROGRESS, path, {'id': download_id, 'bytes': downloaded_bytes}) add_request(REQUEST_PROGRESS, path, {'id': download_id, 'bytes': downloaded_bytes})
done = False
except: except:
# looks like the download was canceled # looks like the download was canceled
done = True done = True