Update curr_screen.py
This commit is contained in:
parent
7ee641e6be
commit
557dfb3f10
@ -4,7 +4,7 @@ class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def run(self, environment):
|
||||
if environment['screenData']['newContentText'].strip(" \t\n") == '':
|
||||
if environment['screenData']['newContentText'].strip() == '':
|
||||
environment['runtime']['outputManager'].presentText(environment, "screen is empty", soundIcon='EmptyLine', interrupt=True)
|
||||
else:
|
||||
environment['runtime']['outputManager'].presentText(environment, environment['screenData']['newContentText'],interrupt=True)
|
||||
|
Loading…
Reference in New Issue
Block a user