fix handle_initial_gpio_control on master #154

Merged
vitormhenrique merged 2 commits from master into dev 2018-06-20 05:16:15 +01:00

View File

@@ -137,6 +137,7 @@ class EnclosurePlugin(octoprint.plugin.StartupPlugin,
rpi_output['shutdown_on_failed'] = False
if 'shell_script' not in rpi_output:
rpi_output['shell_script'] = ""
if current == 4 and target == 5:
self._logger.warn(
"######### migrating settings from v4 to v5 #########")