[appimage] info: displaying 'unknown' when there is no mapped license

This commit is contained in:
Vinicius Moreira
2023-12-01 09:55:48 -03:00
parent cbb55151bf
commit d47e55fd7e
2 changed files with 5 additions and 0 deletions

View File

@@ -480,6 +480,9 @@ class AppImageManager(SoftwareManager, SettingsController):
if data.get('symlink') and not os.path.islink(data['symlink']):
del data['symlink']
if not data.get("license"):
data["license"] = self.i18n["unknown"].lower()
return data
def _sort_release(self, rel: tuple):