[Pkg-anonymity-tools] [onionshare] 99/140: make Ctrl-C close the CLI version again

Ulrike Uhlig u-guest at moszumanska.debian.org
Mon Sep 29 20:33:52 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 8f493b4468b6e2ffd09aa9b8c2fd8fd3a2a6f0a0
Author: Micah Lee <micah at micahflee.com>
Date:   Tue Sep 16 00:19:44 2014 +0000

    make Ctrl-C close the CLI version again
---
 onionshare/onionshare.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/onionshare/onionshare.py b/onionshare/onionshare.py
index 73c5a81..afc6a3f 100644
--- a/onionshare/onionshare.py
+++ b/onionshare/onionshare.py
@@ -255,7 +255,8 @@ def main():
 
     # wait for app to close
     try:
-        t.join()
+        while True:
+            time.sleep(0.5)
     except KeyboardInterrupt:
         web.stop(app.port)
     finally:

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