From 7902a3857ddfa17797384aa6fd5cfa794afe5f28 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 10 Jun 2014 22:10:40 +0000 Subject: [PATCH] open the webapp port on tails as well (#42) --- 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 df8ccf05..dc84b4f2 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -52,6 +52,7 @@ def start_webapp(webapp_port, onionshare_port, filename, onion_host): def launch_window(webapp_port, onionshare_port): def on_destroy(widget, data=None): onionshare.tails_close_port(onionshare_port) + onionshare.tails_close_port(webapp_port) gtk.main_quit() window = gtk.Window() @@ -105,6 +106,7 @@ def main(): }) t.daemon = True t.start() + onionshare.tails_open_port(webapp_port) # launch the window launch_window(webapp_port, onionshare_port)