[fix][appimage] allowing some apps to be filled with empty category elements

This commit is contained in:
Vinicius Moreira
2020-06-10 14:22:07 -03:00
parent 458c602667
commit 42f37eca8a
3 changed files with 5 additions and 3 deletions

View File

@@ -169,8 +169,8 @@ class AppImageManager(SoftwareManager):
found_map = {}
idx = 0
for l in cursor.fetchall():
app = AppImage(*l, i18n=self.i18n, custom_actions=self.custom_app_actions)
for r in cursor.fetchall():
app = AppImage(*r, i18n=self.i18n, custom_actions=self.custom_app_actions)
res.new.append(app)
found_map[self._gen_app_key(app)] = {'app': app, 'idx': idx}
idx += 1