improve output of exit_review

This commit is contained in:
chrys
2016-08-28 21:58:51 +02:00
parent f0039f957e
commit 3f9880097c
2 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,11 @@ class command():
def __init__(self):
pass
def run(self, environment):
if (environment['screenData']['oldCursorReview'] == None) and \
(environment['screenData']['newCursorReview'] == None):
environment['runtime']['outputManager'].presentText(environment, "Not in review mode", interrupt=True)
return environment
environment['screenData']['oldCursorReview'] = None
environment['screenData']['newCursorReview'] = None
environment['runtime']['outputManager'].presentText(environment, "leve review mode", interrupt=True)