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