mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -04:00
Fixes parameters in the test function
This commit is contained in:
parent
a36e90eeaf
commit
dbb13e6a43
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