[Pkg-privacy-commits] [onionshare] 45/53: Don't access self.hs when using --local-only in GUI

Ulrike Uhlig u-guest at moszumanska.debian.org
Wed Dec 30 00:20:15 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 4cfffbf8470488d9557abec8ac89d655c2be1479
Author: Micah Lee <micah at micahflee.com>
Date:   Fri Dec 4 13:19:21 2015 -0800

    Don't access self.hs when using --local-only in GUI
---
 onionshare_gui/onionshare_gui.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py
index 026b7f4..2be92ea 100644
--- a/onionshare_gui/onionshare_gui.py
+++ b/onionshare_gui/onionshare_gui.py
@@ -168,8 +168,8 @@ class OnionShareGui(QtGui.QWidget):
             self.starting_server_step2.emit()
 
             # wait for hs
-            if not self.app.hs.supports_ephemeral:
-                if not self.app.local_only:
+            if not self.app.local_only:
+                if not self.app.hs.supports_ephemeral:
                     self.status_bar.showMessage(strings._('gui_starting_server3', True))
                     self.app.hs.wait_for_hs(self.app.onion_host)
 

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