settings.py: launch lspci by full path (/usr/sbin/lspci)
This commit is contained in:
parent
511767c662
commit
f882042994
@ -636,7 +636,7 @@ class VMSettingsWindow(Ui_SettingsDialog, QDialog):
|
||||
self.devices_layout.addWidget(self.dev_list)
|
||||
|
||||
devs = []
|
||||
lspci = subprocess.Popen(["lspci",], stdout = subprocess.PIPE)
|
||||
lspci = subprocess.Popen(["/usr/sbin/lspci",], stdout = subprocess.PIPE)
|
||||
for dev in lspci.stdout:
|
||||
devs.append( (dev.rstrip(), dev.split(' ')[0]) )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user