"prerelease" key might not be in check if tracking stable releases
This commit is contained in:
parent
079430e3c8
commit
0bb6f5215d
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue