Fix wrong stripping of display device
This commit is contained in:
@@ -94,7 +94,7 @@ def logSystemInfo(cpref):
|
||||
info_devices = []
|
||||
for device in cpref.devices:
|
||||
info_device = {
|
||||
"name": device.name.rstrip(" (Display)"),
|
||||
"name": device.name.replace(" (Display)", ""),
|
||||
"type": device.type,
|
||||
}
|
||||
info_devices.append(info_device)
|
||||
|
Reference in New Issue
Block a user