Update curr_line.py
This commit is contained in:
parent
5fda1b3573
commit
db6990b719
@ -12,7 +12,7 @@ class command():
|
|||||||
environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currLine = \
|
environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currLine = \
|
||||||
line_utils.getCurrentLine(environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], environment['screenData']['newContentText'])
|
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)
|
environment['runtime']['outputManager'].presentText(environment, "blank", soundIcon='EmptyLine', interrupt=True)
|
||||||
else:
|
else:
|
||||||
environment['runtime']['outputManager'].presentText(environment, currLine, interrupt=True)
|
environment['runtime']['outputManager'].presentText(environment, currLine, interrupt=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user