Skip to content

Commit

Permalink
[flatpak] fix: not listing installed packages for Flatpak 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vinifmor committed Nov 5, 2021
1 parent cea02dc commit a6c065e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixes
- AppImage
- not displaying the filter for any kind of file (*) when updating imported AppImages [#193](https://github.com/vinifmor/bauh/issues/193)
- Flatpak
- not listing installed packages for Flatpak 1.2 [#201](https://github.com/vinifmor/bauh/issues/201)
- UI
- always requesting the password on the initialization dialog when launched by the root user [#195](https://github.com/vinifmor/bauh/issues/195)

Expand Down
2 changes: 1 addition & 1 deletion bauh/gems/flatpak/flatpak.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a6c065e

Please sign in to comment.