From b5bff4d10ae7375f48fb05c534cc2734a31f4216 Mon Sep 17 00:00:00 2001 From: ntoff Date: Thu, 20 Apr 2017 01:51:09 +1000 Subject: [PATCH] name wrong --- octoprint_estop/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/octoprint_estop/__init__.py b/octoprint_estop/__init__.py index efc1669..15b7c29 100644 --- a/octoprint_estop/__init__.py +++ b/octoprint_estop/__init__.py @@ -15,11 +15,10 @@ class EstopPlugin(octoprint.plugin.AssetPlugin, return [ dict(type="sidebar", name="Emergency STOP!", icon="fa icon-print", template="estop_sidebar.jinja2", styles=["display: none"], data_bind="visible: loginState.isUser") ] - - def get_update_information(self): - + + def get_update_information(self): return dict( - skeleton=dict( + estop=dict( displayName="Emergency Stop Button", displayVersion=self._plugin_version, @@ -32,7 +31,8 @@ class EstopPlugin(octoprint.plugin.AssetPlugin, # update method: pip pip="https://github.com/ntoff/OctoPrint-Estop/archive/{target_version}.zip" ) - ) + ) + __plugin_name__ = "Emergency Stop Button" def __plugin_load__():