Update curr_line.py

This commit is contained in:
chrys87 2016-09-20 09:40:59 +02:00 committed by GitHub
parent 5fda1b3573
commit db6990b719

View File

@ -12,7 +12,7 @@ class command():
environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currLine = \
line_utils.getCurrentLine(environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], environment['screenData']['newContentText'])
if currLine.strip() == '':
if currLine.strip(" \n\t") == '':
environment['runtime']['outputManager'].presentText(environment, "blank", soundIcon='EmptyLine', interrupt=True)
else:
environment['runtime']['outputManager'].presentText(environment, currLine, interrupt=True)