[flatpak] fix: not listing installed packages for Flatpak 1.2

This commit is contained in:
Vinicius Moreira
2021-11-05 13:48:51 -03:00
parent cea02dcd41
commit a6c065efb6
2 changed files with 3 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ def get_commit(app_id: str, branch: str, installation: str) -> Optional[str]:
def list_installed(version: Version) -> List[dict]:
apps = []
if version < VERSION_1_3:
if version < VERSION_1_2:
app_list = new_subprocess(['flatpak', 'list', '-d'])
for o in app_list.stdout: