Fix wait_for_hs bug when specifying --local-only

This commit is contained in:
kkka 2014-09-02 00:04:41 +09:00
parent c49cc75a55
commit a5b3d45d1e

View File

@ -94,6 +94,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')
if helpers.get_platform() == 'Tails':