[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

@@ -21,7 +21,7 @@ class AppImage(SoftwarePackage):
installed=installed)
self.source = source
self.github = github
self.categories = categories.split(',') if isinstance(categories, str) else categories
self.categories = (categories.split(',') if isinstance(categories, str) else categories) if categories else None
self.url_download = url_download
self.icon_path = icon_path
self.url_screenshot = url_screenshot