Update __init__.py

This commit is contained in:
Cristian Henzel 2020-10-03 18:01:09 -07:00 committed by GitHub
parent f8688d6415
commit f38109ccd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,7 @@ class EstopPlugin(octoprint.plugin.StartupPlugin,
)
__plugin_name__ = "Emergency Stop Button"
__plugin_pythoncompat__ = ">=2.7,<4"
def __plugin_load__():
global __plugin_implementation__
@ -53,4 +54,4 @@ def __plugin_load__():
global __plugin_hooks__
__plugin_hooks__ = {
"octoprint.plugin.softwareupdate.check_config": __plugin_implementation__.get_update_information
}
}