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