🐛 SWU: Restart after pip update too

This commit is contained in:
Gina Häußge committed 2019-11-21 14:27:52 +01:00
1 parent 84a99e1b53
commit e0233dee13
1 file changed
+1 -1
@@ -963,7 +963,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
if "restart" in check:
target_restart_type = check["restart"]
elif "pip" in check and target != "pip":
elif "pip" in check:
target_restart_type = "octoprint"
else:
target_restart_type = None