Fixes parameters in the test function

This commit is contained in:
Saptak S 2021-03-30 21:20:59 +05:30
parent a36e90eeaf
commit dbb13e6a43
2 changed files with 19 additions and 19 deletions

View file

@ -313,7 +313,7 @@ class ShareModeWeb(SendBaseModeWeb):
# tell GUI the progress
downloaded_bytes = fp.tell()
percent = (1.0 * downloaded_bytes / self.filesize) * 100
percent = (1.0 * downloaded_bytes / filesize) * 100
bytes_left -= read_size
# only output to stdout if running onionshare in CLI mode, or if using Linux (#203, #304)