From 656207899ee1799b2eda36029c98d6014f39c2c8 Mon Sep 17 00:00:00 2001 From: Florian Baumann Date: Sun, 6 Sep 2015 23:22:52 +0200 Subject: add __plugin_implementation__ --- __init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index 996c96f..1b91a78 100644 --- a/__init__.py +++ b/__init__.py @@ -3,10 +3,6 @@ from __future__ import absolute_import from sleekxmpp import ClientXMPP import octoprint.plugin -__plugin_name__ = "OctoXMPP" -__plugin_version__ = "0.1.0" -__plugin_description__ = "Notify about some Events over XMPP." - class OctoXMPP(octoprint.plugin.EventHandlerPlugin, octoprint.plugin.SettingsPlugin): @@ -40,3 +36,8 @@ class OctoXMPP(octoprint.plugin.EventHandlerPlugin, self._msg_receivers("Druck abgebrochen!") else: self._xmpp.send_message(mto="derflob@derflob.de", mbody=event) + +__plugin_name__ = "OctoXMPP" +__plugin_version__ = "0.1.0" +__plugin_description__ = "Notify about some Events over XMPP." +__plugin_implementation__ = OctoXMPP() -- cgit v1.2.3