Don't run forever
This commit is contained in:
parent
71f5b0d501
commit
70fd4d906c
|
@ -492,7 +492,7 @@ class Bot(ClientXMPP):
|
|||
self.connect()
|
||||
|
||||
try:
|
||||
self.process()
|
||||
self.process(forever=False)
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue