Update bookmark_1.py

This commit is contained in:
chrys87 2016-09-23 09:55:49 +02:00 committed by GitHub
parent 215f44f9c2
commit a1b7d80451

View File

@ -18,11 +18,8 @@ class command():
return 'read Bookmark ' + self.ID
def run(self):
currApp = ''
try:
currApp = str(self.env['screenData']['newApplication'][0])
except:
currApp = 'DEFAULT'
currApp = self.environment['runtime']['applicationManager'].getCurrentApplication()
if not self.env['commandBuffer']['bookMarks'][self.ID]:
self.env['runtime']['outputManager'].presentText("Bookmark " + self.ID + "not found.", interrupt=True)
return