settings: fix getting available appmenus list
This commit is contained in:
parent
eb9c5d603b
commit
576299afea
@ -66,7 +66,7 @@ class AppmenuSelectManager:
|
|||||||
available_appmenus = [AppListWidgetItem.from_line(line)
|
available_appmenus = [AppListWidgetItem.from_line(line)
|
||||||
for line in subprocess.check_output(['qvm-appmenus',
|
for line in subprocess.check_output(['qvm-appmenus',
|
||||||
'--get-available', '--i-understand-format-is-unstable',
|
'--get-available', '--i-understand-format-is-unstable',
|
||||||
self.vm.name]).decode().split()]
|
self.vm.name]).decode().splitlines()]
|
||||||
|
|
||||||
for a in available_appmenus:
|
for a in available_appmenus:
|
||||||
if a.ident in whitelisted:
|
if a.ident in whitelisted:
|
||||||
|
Loading…
Reference in New Issue
Block a user