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:
|
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…
Reference in New Issue
Block a user