"prerelease" might not be in check (chances for that are actually high), don't hiccup on that
This commit is contained in:
1 parent
ce28b637ab
commit
9a9502b281
1 file changed
+1
-1
@@ -766,7 +766,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
||||
else:
|
||||
result["current"] = VERSION
|
||||
|
||||
if check["type"] == "github_release" and (check["prerelease"] or BRANCH != stable_branch):
|
||||
if check["type"] == "github_release" and (check.get("prerelease", None) or BRANCH != stable_branch):
|
||||
# we are tracking github releases and are either also tracking prerelease OR are currently installed
|
||||
# from something that is not the stable (master) branch => we need to change some parameters
|
||||
|
||||
|
||||
Reference in new issue
Block a user