remove deprecated parameter

This commit is contained in:
Fabian Affolter 2015-05-10 23:22:06 +02:00
parent f103d5964e
commit 76fd70657a

View file

@ -113,7 +113,7 @@ class SendNotificationBot(sleekxmpp.ClientXMPP):
self.add_event_handler("failed_auth", self.check_credentials)
self.add_event_handler('session_start', self.start)
self.connect()
self.process(threaded=False)
self.process(block=False)
def start(self, event):
""" Starts the communication and sends the message. """