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:
Micah Lee 2014-09-02 17:23:00 -07:00
commit 8c9bcdad6d

View File

@ -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