tweak performance
This commit is contained in:
parent
9a844faa5e
commit
ca1a6be58a
@ -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] == '-')
|
||||
|
Loading…
Reference in New Issue
Block a user