summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2015-09-07 16:56:04 +0200
committerFlorian Baumann <derflob@derflob.de>2015-09-07 16:56:04 +0200
commit25990eec560354b2ce58e159e424fc707c5dbfbe (patch)
tree4487018ac132e0e10a7507000fe27d2667965971
parentfd3ba378ad2f854b13e1327d31b82836415cc20d (diff)
downloadxmpp-25990eec560354b2ce58e159e424fc707c5dbfbe.tar.gz
xmpp-25990eec560354b2ce58e159e424fc707c5dbfbe.tar.bz2
xmpp.process, use threaded=True
-rw-r--r--__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/__init__.py b/__init__.py
index ff37f2c..69a8735 100644
--- a/__init__.py
+++ b/__init__.py
@@ -13,7 +13,7 @@ class OctoXMPP(octoprint.plugin.EventHandlerPlugin,
self._xmpp.add_event_handler("session_start", self._xmpp.send_presence)
self._xmpp.connect()
- self._xmpp.process(block=False)
+ self._xmpp.process(threaded=True)
def get_settings_defaults(self):
return dict(username="rupert@derflob.de", password="KosselMini", receivers=["derflob@derflob.de", "jabber@dermeb.de"])