[Pkg-privacy-commits] [onionshare] 41/53: Don't access self.hs when using --local-only
Ulrike Uhlig
u-guest at moszumanska.debian.org
Wed Dec 30 00:20:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch debian
in repository onionshare.
commit e6e323fc9ac5e3062876d203ba8fa89cfcd408ae
Author: Micah Lee <micah at micahflee.com>
Date: Fri Dec 4 12:37:51 2015 -0800
Don't access self.hs when using --local-only
---
onionshare/onionshare.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/onionshare/onionshare.py b/onionshare/onionshare.py
index aa50031..c3f8c50 100644
--- a/onionshare/onionshare.py
+++ b/onionshare/onionshare.py
@@ -158,8 +158,8 @@ def main(cwd=None):
try: # Trap Ctrl-C
# wait for hs, only if using old version of tor
- if not app.hs.supports_ephemeral:
- if not app.local_only:
+ if not app.local_only:
+ if not app.hs.supports_ephemeral:
ready = app.hs.wait_for_hs(app.onion_host)
if not ready:
sys.exit()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git
More information about the Pkg-privacy-commits
mailing list