diff options
author | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-05-28 13:49:12 +0000 |
---|---|---|
committer | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-05-28 13:49:12 +0000 |
commit | 9dbaa1b392358fb8bca67060431c737c30ac8edb (patch) | |
tree | 9773c2be165ba7d64fa4b23494dc5b57cbbee7fc /proxy.py | |
parent | c101bbc442950560a17b27bc45cde714ac2c81c7 (diff) | |
download | omegle-9dbaa1b392358fb8bca67060431c737c30ac8edb.tar.gz omegle-9dbaa1b392358fb8bca67060431c737c30ac8edb.zip |
git-svn-id: http://xapek.org/svn/common/omegle@1026 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'proxy.py')
-rw-r--r-- | proxy.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,7 @@ chat_lock = Lock() class OmegleProxyChat(OmegleChat): def __init__(self,name,color=0): - OmegleChat.__init__(self) + OmegleChat.__init__(self,name="(" + name + ")") self.name = name self.color = color def c(self,str,bold=False): @@ -61,6 +61,7 @@ try: while True: if chat_lock.acquire(0): print "One part disconnected, exiting" + break else: time.sleep(0.5) except KeyboardInterrupt: |