SWU: Fixed update configs without restart
This commit is contained in:
parent
0d76df2cd5
commit
a948050c54
1 changed files with 2 additions and 0 deletions
|
|
@ -688,6 +688,8 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
|||
target_restart_type = check["restart"]
|
||||
elif "pip" in check:
|
||||
target_restart_type = "octoprint"
|
||||
else:
|
||||
target_restart_type = None
|
||||
|
||||
# if our update requires a restart we have to determine which type
|
||||
if restart_type is None or (restart_type == "octoprint" and target_restart_type == "environment"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue