mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 15:05:11 -04:00
Fixes parameters in the test function
This commit is contained in:
parent
4a7c062dbd
commit
157ffc9ba5
2 changed files with 19 additions and 19 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue