[appimage] fix: displaying duplicate installed apps for some cases (search)

This commit is contained in:
Vinicius Moreira
2022-02-09 10:43:47 -03:00
parent 68cd434fc1
commit 8000babec8
2 changed files with 7 additions and 1 deletions

View File

@@ -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()