Don't consider individual downloads in the in_progress counter

This commit is contained in:
Micah Lee 2019-09-08 11:58:44 -07:00
parent 79f563e443
commit bd3a7fe1f7
2 changed files with 4 additions and 21 deletions

View file

@ -177,7 +177,8 @@ class SendBaseModeWeb:
self.web.add_request(self.web.REQUEST_INDIVIDUAL_FILE_PROGRESS, path, {
'id': history_id,
'bytes': downloaded_bytes
'bytes': downloaded_bytes,
'filesize': filesize
})
done = False
except: