fix deletion

This commit is contained in:
chrys 2017-06-30 20:39:06 +02:00
parent 96a1055ec3
commit ded4e84699

View File

@ -36,9 +36,9 @@ class command():
if len(self.env['screen']['newNegativeDelta']) > 2:
return
currNegativeDelta = self.env['screen']['newNegativeDelta']
#if len(currNegativeDelta.strip()) != len(currNegativeDelta) and \
# currNegativeDelta.strip() != '':
# currNegativeDelta = currNegativeDelta.strip()
if len(currNegativeDelta.strip()) != len(currNegativeDelta) and \
currNegativeDelta.strip() != '':
currNegativeDelta = currNegativeDelta.strip()
self.env['runtime']['outputManager'].presentText(currNegativeDelta, interrupt=True, ignorePunctuation=True, announceCapital=True, flush=False)
def setCallback(self, callback):
pass