Skip to content

Commit

Permalink
"prerelease" key might not be in check if tracking stable releases
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Sep 12, 2016
1 parent 079430e commit 0bb6f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/octoprint/plugins/softwareupdate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ def _populated_check(self, target, check):
# 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:
Expand Down

0 comments on commit 0bb6f52

Please sign in to comment.