Merge branch 'eta' of https://github.com/garrettr/onionshare into garrettr-eta

This commit is contained in:
Micah Lee 2016-02-12 08:36:46 -08:00
commit 3c3ea6faf3
3 changed files with 104 additions and 29 deletions

View file

@ -216,7 +216,7 @@ class OnionShareGui(QtGui.QWidget):
self.downloads.add_download(event["data"]["id"], web.zip_filesize)
elif event["type"] == web.REQUEST_PROGRESS:
self.downloads.update_download(event["data"]["id"], web.zip_filesize, event["data"]["bytes"])
self.downloads.update_download(event["data"]["id"], event["data"]["bytes"])
# is the download complete?
if event["data"]["bytes"] == web.zip_filesize: