From a5b3d45d1e4ddc33b6fe5490678160566dcecf8e Mon Sep 17 00:00:00 2001 From: kkka Date: Tue, 2 Sep 2014 00:04:41 +0900 Subject: [PATCH] Fix wait_for_hs bug when specifying --local-only --- onionshare/onionshare.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/onionshare/onionshare.py b/onionshare/onionshare.py index 998753bf..d44f36b9 100644 --- a/onionshare/onionshare.py +++ b/onionshare/onionshare.py @@ -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':