[Pkg-anonymity-tools] [onionshare] 63/140: Fix wait_for_hs bug when specifying --local-only

Ulrike Uhlig u-guest at moszumanska.debian.org
Mon Sep 29 20:33:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository onionshare.

commit a5b3d45d1e4ddc33b6fe5490678160566dcecf8e
Author: kkka <kkka at users.noreply.github.com>
Date:   Tue Sep 2 00:04:41 2014 +0900

    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 998753b..d44f36b 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':

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git



More information about the Pkg-anonymity-tools mailing list