summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2015-09-07 19:52:20 +0200
committerFlorian Baumann <derflob@derflob.de>2015-09-07 19:52:20 +0200
commit944ac24be819097090e6da40c89ca8596c8d0ecf (patch)
treee2349eaa788afab6eb8332b5a791c3fe8986f4e2
parentc16e92e9ff5b1ed5637fb00b0e1df012d8145fc5 (diff)
downloadxmpp-944ac24be819097090e6da40c89ca8596c8d0ecf.tar.gz
xmpp-944ac24be819097090e6da40c89ca8596c8d0ecf.tar.bz2
no default event handler
-rw-r--r--__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/__init__.py b/__init__.py
index 2288df3..5e33bce 100644
--- a/__init__.py
+++ b/__init__.py
@@ -40,8 +40,8 @@ class OctoXMPP(octoprint.plugin.EventHandlerPlugin,
self._msg_receivers("Druck abgebrochen!")
elif (event == "PrintStarted"):
self._msg_receivers("Druck begonnen.")
- else:
- self._xmpp.send_message(mto="derflob@derflob.de", mbody=event, mtype="chat")
+ #else:
+ # self._xmpp.send_message(mto="derflob@derflob.de", mbody=event, mtype="chat")
__plugin_name__ = "OctoXMPP"
__plugin_version__ = "0.1.1"