[Pkg-anonymity-tools] [onionshare] 91/140: Fixed CLI version to properly stop the webserver

Ulrike Uhlig u-guest at moszumanska.debian.org
Mon Sep 29 20:33:51 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 ea06ec19a10ea287f0364cbd50a13e8f63012e4b
Author: Mason Donahue <masond+github at gmail.com>
Date:   Sat Sep 6 00:31:47 2014 -0500

    Fixed CLI version to properly stop the webserver
---
 onionshare/onionshare.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/onionshare/onionshare.py b/onionshare/onionshare.py
index bf8bf84..0edf2bf 100644
--- a/onionshare/onionshare.py
+++ b/onionshare/onionshare.py
@@ -260,7 +260,7 @@ def main():
             time.sleep(0.5)
         except KeyboardInterrupt:
             running = False
-            web.stop()
+            web.stop(app.port)
 
     # shutdown
     app.cleanup()

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