commit | b50c480a3dd41c1f41922e7c77104c71a146ce93 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@users.noreply.github.com> | Wed Sep 20 16:16:20 2017 -0500 |
committer | GitHub <noreply@github.com> | Wed Sep 20 16:16:20 2017 -0500 |
tree | ad148fdaf8c8d6b4fb894acc855b631d062a3dc4 | |
parent | cfc7e4c23dd2321ba0fc3e3aa33dba5f53a538a9 [diff] | |
parent | c772b47a9430ba0aad6ea6b4bbfb941a52988c07 [diff] |
Merge pull request #4 from charleshofer/assoc-fix Fixed openbmc-sfw for associations
diff --git a/openbmc-sfw b/openbmc-sfw index ef07c2f..c425ceb 100755 --- a/openbmc-sfw +++ b/openbmc-sfw
@@ -113,7 +113,7 @@ # Look for our the image with the given version in software for path in software: image = self.get_image(path) - if image_version == image['Version']: + if 'Version' in image and image_version == image['Version']: return path.split('/')[-1] time.sleep(15) return False