From 8000babec87d4bdecc3680688bff2fc5ed82740f Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 9 Feb 2022 10:43:47 -0300 Subject: [PATCH] [appimage] fix: displaying duplicate installed apps for some cases (search) --- CHANGELOG.md | 6 ++++++ bauh/gems/appimage/controller.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec346e20..f6b68596 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [0.9.27] + +### Fixes +- AppImage + - search: displaying duplicate installed apps for some cases + ## [0.9.26] 2022-01-31 ### Improvements diff --git a/bauh/gems/appimage/controller.py b/bauh/gems/appimage/controller.py index 6173b828..15bc9fec 100644 --- a/bauh/gems/appimage/controller.py +++ b/bauh/gems/appimage/controller.py @@ -227,7 +227,7 @@ class AppImageManager(SoftwareManager): installed_found.append(appim) found = True - if not found and lower_words in appim.name.lower() or (appim.description and lower_words in appim.description.lower()): + if not found and (lower_words in appim.name.lower() or (appim.description and lower_words in appim.description.lower())): installed_found.append(appim) try: apps_conn.close()