summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-05-29 15:31:58 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-05-29 15:31:58 +0000
commit69f840c2f5494a88bffc7618f2e13d1aabf7f76d (patch)
treefc4903aa5eba6e356038ba66880db578d58ae7c3
parent9de63d41c253a1a333815ec24bebbd8c858e7da2 (diff)
downloadomegle-69f840c2f5494a88bffc7618f2e13d1aabf7f76d.tar.gz
omegle-69f840c2f5494a88bffc7618f2e13d1aabf7f76d.zip
foobar
git-svn-id: http://xapek.org/svn/common/omegle@1041 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
-rw-r--r--proxy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy.py b/proxy.py
index af29c53..5f1c86e 100644
--- a/proxy.py
+++ b/proxy.py
@@ -72,7 +72,8 @@ if __name__ == "__main__":
try:
while True:
- if event.wait(0.5):
+ event.wait(0.5)
+ if event.is_set():
print "One part disconnected, exiting"
break
except KeyboardInterrupt: