hopefully make fbye/fdie more smooth
This commit is contained in:
parent
a08bb9e60e
commit
aad7bfa538
@ -223,7 +223,6 @@ class IRCClient(object):
|
||||
except Exception as e:
|
||||
traceback.print_exc()
|
||||
raise e # ?
|
||||
|
||||
yield True
|
||||
finally:
|
||||
if self.socket:
|
||||
@ -255,5 +254,8 @@ class IRCClient(object):
|
||||
def mainLoop(self):
|
||||
conn = self.connect()
|
||||
while True:
|
||||
next(conn)
|
||||
try:
|
||||
next(conn)
|
||||
except:
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user