diff options
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: |