Fix wrong stripping of display device

This commit is contained in:
2017-08-18 17:11:07 +02:00
parent 69246133ec
commit d4370881ca

View File

@@ -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)