diff --git a/src/fenrir-package/screenDriver/linux.py b/src/fenrir-package/screenDriver/linux.py index 1a9fd966..36b3a386 100644 --- a/src/fenrir-package/screenDriver/linux.py +++ b/src/fenrir-package/screenDriver/linux.py @@ -139,5 +139,5 @@ class driver(): diffList = list(diff) - self.env['screenData']['newDelta'] = ''.join(x[2:] for x in diffList if x.startswith('+ ')) - self.env['screenData']['newNegativeDelta'] = ''.join(x[2:] for x in diffList if x.startswith('- ')) + self.env['screenData']['newDelta'] = ''.join(x[2:] for x in diffList if x[0] == '+') + self.env['screenData']['newNegativeDelta'] = ''.join(x[2:] for x in diffList if x[0] == '-')