Update set_mark.py

This commit is contained in:
chrys87 2016-08-23 17:31:24 +02:00 committed by GitHub
parent c9200248eb
commit ae41405ac9

View File

@ -7,10 +7,10 @@ class command():
if environment['screenData']['newCursorReview'] == None:
environment['runtime']['outputManager'].presentText(environment, 'no review cursor', interrupt=True)
if environment['commandBuffer']['Mark']['1'] == None:
environment['commandBuffer']['Mark']['1'] = environment['screenData']['newCursorReview']
if environment['commandBuffer']['Marks']['1'] == None:
environment['commandBuffer']['Marks']['1'] = environment['screenData']['newCursorReview']
else:
environment['commandBuffer']['Mark']['2'] = environment['screenData']['newCursorReview']
environment['commandBuffer']['Marks']['2'] = environment['screenData']['newCursorReview']
environment['runtime']['outputManager'].presentText(environment, 'set mark', interrupt=True)
return environment