diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2a0af5c..934bf8e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,8 @@ - + + diff --git a/octoprint_mystromswitch/__init__.py b/octoprint_mystromswitch/__init__.py index f5130b2..52564d3 100644 --- a/octoprint_mystromswitch/__init__.py +++ b/octoprint_mystromswitch/__init__.py @@ -168,7 +168,7 @@ class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin, self._logger.info("Shutting down system with command: {command}".format(command=shutdown_command)) try: import sarge - p = sarge.run(shutdown_command, async=True) + p = sarge.run(shutdown_command, async_=True) except Exception as e: self._logger.exception("Error when shutting down: {error}".format(error=e)) return diff --git a/setup.py b/setup.py index dc851fd..0372894 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ plugin_package = "octoprint_mystromswitch" plugin_name = "OctoPrint-MyStromSwitch" # The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module -plugin_version = "1.1.0" +plugin_version = "1.1.1" # The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin # module