polish auto output

This commit is contained in:
chrys
2016-08-07 17:00:39 +02:00
parent a277c10dcd
commit 590623b61d
9 changed files with 10 additions and 186 deletions

View File

@ -80,7 +80,10 @@ class screen():
environment['screenData']['newContentText'][diffStart:].splitlines())
diffList = list(diff)
environment['screenData']['newDelta'] = ''.join(x[2:] for x in diffList if x.startswith('+ '))
environment['screenData']['newNegativeDelta'] = ''.join(x[2:] for x in diffList if x.startswith('- '))
else:
environment['screenData']['newNegativeDelta'] = ''
environment['screenData']['newDelta'] = ''
return environment