settings: fix getting available appmenus list

This commit is contained in:
Marek Marczykowski-Górecki 2017-07-16 10:40:59 +02:00
parent eb9c5d603b
commit 576299afea
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -66,7 +66,7 @@ class AppmenuSelectManager:
available_appmenus = [AppListWidgetItem.from_line(line)
for line in subprocess.check_output(['qvm-appmenus',
'--get-available', '--i-understand-format-is-unstable',
self.vm.name]).decode().split()]
self.vm.name]).decode().splitlines()]
for a in available_appmenus:
if a.ident in whitelisted: