mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-26 15:59:48 -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()
|
||||
|
||||
def wait_for_hs(self):
|
||||
if self.local_only:
|
||||
return True
|
||||
|
||||
print strings._('wait_for_hs')
|
||||
|
||||
ready = False
|
||||
|
Loading…
Reference in New Issue
Block a user