"prerelease" key might not be in check if tracking stable releases
This commit is contained in:
1 parent
079430e3c8
commit
0bb6f5215d
1 file changed
+1
-1
@@ -778,7 +778,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
||||
# if we are using the update_script, we need to set our update_branch and force
|
||||
# to install the exact version we requested
|
||||
|
||||
if check["prerelease"]:
|
||||
if check.get("prerelease", None):
|
||||
# we are tracking prereleases => we want to be on the correct prerelease channel/branch
|
||||
channel = check.get("prerelease_channel", None)
|
||||
if channel:
|
||||
|
||||
Reference in new issue
Block a user