Browse Source

hopefully make fbye/fdie more smooth

master
jcao219 13 years ago
parent
commit
92b1a48845
  1. 4
      oyoyo/client.py

4
oyoyo/client.py

@ -223,7 +223,6 @@ class IRCClient(object):
except Exception as e: except Exception as e:
traceback.print_exc() traceback.print_exc()
raise e # ? raise e # ?
yield True yield True
finally: finally:
if self.socket: if self.socket:
@ -255,5 +254,8 @@ class IRCClient(object):
def mainLoop(self): def mainLoop(self):
conn = self.connect() conn = self.connect()
while True: while True:
try:
next(conn) next(conn)
except:
return

Loading…
Cancel
Save