mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-27 16:29:41 -05:00
Merge pull request #124 from kkka/fix-wait_for_hs-bug
Fix wait_for_hs bug when specifying --local-only
This commit is contained in:
commit
8c9bcdad6d
@ -112,6 +112,9 @@ class OnionShare(object):
|
|||||||
self.onion_host = open(hostname_file, 'r').read().strip()
|
self.onion_host = open(hostname_file, 'r').read().strip()
|
||||||
|
|
||||||
def wait_for_hs(self):
|
def wait_for_hs(self):
|
||||||
|
if self.local_only:
|
||||||
|
return True
|
||||||
|
|
||||||
print strings._('wait_for_hs')
|
print strings._('wait_for_hs')
|
||||||
|
|
||||||
ready = False
|
ready = False
|
||||||
|
Loading…
Reference in New Issue
Block a user