From 8faa5ff6e57c967f7b42b3aa99ba9d3d734933bd Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 13 Jun 2019 17:40:38 -0300 Subject: [PATCH] Fixing error when no applications are installed --- core/flatpak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/flatpak.py b/core/flatpak.py index fb049174..a51c3bb5 100755 --- a/core/flatpak.py +++ b/core/flatpak.py @@ -58,7 +58,7 @@ def list_installed() -> List[dict]: app_lines = apps_str.split('\n') return [app_str_to_json(line, version) for line in app_lines if line] - return None + return [] def update(ref: str):