Skip to content

Commit

Permalink
Fix bug flatpak list bug on Linux Mint
Browse files Browse the repository at this point in the history
  • Loading branch information
heliguy4599 committed Oct 6, 2023
1 parent bfd1af7 commit 59e0d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def getHostFlatpaks(self):
data.append(row)

output = subprocess.run(["flatpak-spawn", "--host", "flatpak", "list", "--columns=runtime"], capture_output=True, text=True, env=self.new_env).stdout
lines = output.strip().split("\n")
for i in range(len(lines)):
lines = output.split("\n")
for i in range(len(data)):
data[i].append(lines[i])
return data

Expand Down

0 comments on commit 59e0d14

Please sign in to comment.