[Pkg-anonymity-tools] [onionshare] 10/140: Fix displaying of local host

Ulrike Uhlig u-guest at moszumanska.debian.org
Mon Sep 29 20:33:42 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 fe92ca4311500adc927e23f2c4576aba98c95283
Author: Lazlo Westerhof <github at lazlo.me>
Date:   Sat Aug 23 00:01:44 2014 +0200

    Fix displaying of local host
---
 onionshare_gui/onionshare_gui.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py
index a37865d..2dfb001 100644
--- a/onionshare_gui/onionshare_gui.py
+++ b/onionshare_gui/onionshare_gui.py
@@ -362,6 +362,8 @@ def main():
             except onionshare.NoTor as e:
                 alert(e.args[0], QtGui.QMessageBox.Warning)
                 return
+        else:
+            onion_host = local_host
 
     # select file to share
     filename, basename = select_file(onionshare.strings, filename)

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