Skip to content

Commit

Permalink
Framework update check version correction
Browse files Browse the repository at this point in the history
  • Loading branch information
ghecko committed Dec 2, 2019
1 parent f26f8fe commit cc5a91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrabus_framework/core/utils/HBFUpdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def update(self, update_framework=None):
if update_framework:
latest_release_version = self._get_latest_framework_version()
if latest_release_version:
if latest_release_version < pkg_resources.get_distribution('hydrabus_framework').version:
if latest_release_version > pkg_resources.get_distribution('hydrabus_framework').version:
self.logger.handle('A new framework release is available, running update...', Logger.INFO)
if not self._manage_install('framework'):
self.not_updated.append('framework')
Expand Down

0 comments on commit cc5a91b

Please sign in to comment.