mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-31 18:26:12 -05:00
Resolve conflict with upstream's onion.py
This commit is contained in:
parent
9aef3cdbb3
commit
4da5ddf2c9
@ -445,7 +445,10 @@ class Onion(object):
|
|||||||
self.auth_string = 'HidServAuth {} {}'.format(onion_host, auth_cookie)
|
self.auth_string = 'HidServAuth {} {}'.format(onion_host, auth_cookie)
|
||||||
|
|
||||||
self.settings.save()
|
self.settings.save()
|
||||||
return onion_host
|
if onion_host is not None:
|
||||||
|
return onion_host
|
||||||
|
else:
|
||||||
|
raise TorErrorProtocolError(strings._('error_tor_protocol_error'))
|
||||||
|
|
||||||
def cleanup(self, stop_tor=True):
|
def cleanup(self, stop_tor=True):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user