Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Sep 23, 2024
1 parent ef841fa commit e999472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/Package/Package.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def update(self, packages_list: list = [], assume_yes: bool = False, ignore_excl
package['available_version'] = self.myPackageManagerController.get_available_version(package['name'])

# If current version and available version have been found, then add the package to the final list
if package['current_version'] != '' or package['available_version'] != '':
if package['current_version'] != '' and package['available_version'] != '':
packages_list_temp.append({
'name': package['name'],
'current_version': package['current_version'],
Expand Down

0 comments on commit e999472

Please sign in to comment.