tweak performance

This commit is contained in:
chrys 2016-10-03 19:25:59 +02:00
parent 9a844faa5e
commit ca1a6be58a

View File

@ -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] == '-')