From 6791e59aa57670827e273fe9294e8d1b06a870f9 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 19 Feb 2018 12:47:21 +1100 Subject: [PATCH] reset done to False if a download is still in progress --- onionshare/web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/onionshare/web.py b/onionshare/web.py index eec2de89..103ddb1f 100644 --- a/onionshare/web.py +++ b/onionshare/web.py @@ -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