Skip to content

Commit

Permalink
Merge pull request #23 from hydrabus-framework/develop
Browse files Browse the repository at this point in the history
Framework update check version correction
  • Loading branch information
ghecko authored Dec 2, 2019
2 parents 99dadd1 + cc5a91b commit 7349408
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 7349408

Please sign in to comment.