fix typo
This commit is contained in:
parent
39b29e7d41
commit
1748c28ecf
@ -14,7 +14,6 @@ class command():
|
||||
environment['runtime']['outputManager'].speakText(environment, "empty line")
|
||||
else:
|
||||
environment['runtime']['outputManager'].speakText(environment, environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursorReview']['y']])
|
||||
print(environment['screenData']['newCursorReview'])
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
|
@ -31,7 +31,6 @@ class commandManager():
|
||||
return environment
|
||||
|
||||
def executeCommand(self, environment, currCommand, section = 'commands'):
|
||||
environment = environment['commands'][section][currCommand].run(environment)
|
||||
if self.isCommandDefined(environment):
|
||||
try:
|
||||
environ = environment['commands'][section][currCommand].run(environment)
|
||||
|
@ -33,7 +33,9 @@ class fenrir():
|
||||
self.environment = self.environment['runtime']['commandManager'].getCommandForShortcut(self.environment)
|
||||
self.environment = self.environment['runtime']['screenDriver'].analyzeScreen(self.environment)
|
||||
self.environment = self.environment['runtime']['commandManager'].executeTriggerCommands(self.environment, 'onInput')
|
||||
if self.environment['input']['currShortcutString'] != '':
|
||||
if self.environment['commandInfo']['currCommand'] != '':
|
||||
self.environment['input']['currShortcut'] = {}
|
||||
self.environment['input']['currShortcutString'] = ''
|
||||
self.handleCommands()
|
||||
self.environment['runtime']['globalLock'].release()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user