mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-31 20:24:16 -04:00
Oops, was passing self.upload_error into the wrong close function
This commit is contained in:
parent
9f611331c6
commit
38238fec40
1 changed files with 2 additions and 2 deletions
|
@ -193,7 +193,7 @@ class ReceiveModeFile(object):
|
|||
"""
|
||||
if self.upload_error or (not self.onionshare_request.stop_q.empty()):
|
||||
self.close()
|
||||
self.onionshare_request.close(self.upload_error)
|
||||
self.onionshare_request.close()
|
||||
return
|
||||
|
||||
try:
|
||||
|
@ -217,7 +217,7 @@ class ReceiveModeFile(object):
|
|||
except:
|
||||
self.upload_error = True
|
||||
|
||||
self.onionshare_close_func(self.onionshare_filename)
|
||||
self.onionshare_close_func(self.onionshare_filename, self.upload_error)
|
||||
|
||||
|
||||
class ReceiveModeRequest(Request):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue