Update curr_screen.py
This commit is contained in:
1 parent
7ee641e6be
commit
557dfb3f10
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user