diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index 42a8661f..fbb38630 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -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"):