mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
Fixing error when no applications are installed
This commit is contained in:
@@ -58,7 +58,7 @@ def list_installed() -> List[dict]:
|
|||||||
app_lines = apps_str.split('\n')
|
app_lines = apps_str.split('\n')
|
||||||
return [app_str_to_json(line, version) for line in app_lines if line]
|
return [app_str_to_json(line, version) for line in app_lines if line]
|
||||||
|
|
||||||
return None
|
return []
|
||||||
|
|
||||||
|
|
||||||
def update(ref: str):
|
def update(ref: str):
|
||||||
|
|||||||
Reference in New Issue
Block a user