mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-15 16:29:35 -05:00
Only wait for share mode rendezvous circuits to close, ignore the rest
This commit is contained in:
parent
9c1941067f
commit
8d3b999a81
3 changed files with 17 additions and 8 deletions
|
|
@ -63,7 +63,7 @@ class OnionShare(object):
|
|||
except:
|
||||
raise OSError("Cannot find an available OnionShare port")
|
||||
|
||||
def start_onion_service(self, mode_settings, await_publication=True):
|
||||
def start_onion_service(self, mode, mode_settings, await_publication=True):
|
||||
"""
|
||||
Start the onionshare onion service.
|
||||
"""
|
||||
|
|
@ -80,7 +80,7 @@ class OnionShare(object):
|
|||
return
|
||||
|
||||
self.onion_host = self.onion.start_onion_service(
|
||||
mode_settings, self.port, await_publication
|
||||
mode, mode_settings, self.port, await_publication
|
||||
)
|
||||
|
||||
if mode_settings.get("general", "client_auth"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue