From d4370881ca54454c69b11d7651a5cc72455e7296 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 18 Aug 2017 17:11:07 +0200 Subject: [PATCH] Fix wrong stripping of display device --- benchmark/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/configure.py b/benchmark/configure.py index 0782d21..280abe7 100644 --- a/benchmark/configure.py +++ b/benchmark/configure.py @@ -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)