From 9dbaa1b392358fb8bca67060431c737c30ac8edb Mon Sep 17 00:00:00 2001 From: yvesf Date: Thu, 28 May 2009 13:49:12 +0000 Subject: git-svn-id: http://xapek.org/svn/common/omegle@1026 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- proxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proxy.py') diff --git a/proxy.py b/proxy.py index a5b0803..438d753 100644 --- a/proxy.py +++ b/proxy.py @@ -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: -- cgit v1.2.1