continue work

This commit is contained in:
chrys 2016-09-05 19:48:19 +02:00
parent ae71bd4ef7
commit 96011d0f77

View File

@ -67,7 +67,7 @@ class commandManager():
def isShortcutDefined(self, environment, currCommand): def isShortcutDefined(self, environment, currCommand):
return( environment['input']['currShortcutString'] in environment['bindings']) return( environment['input']['currShortcutString'] in environment['bindings'])
def setCurrCommandForExec(self, environment, currCommand=''): def setCurrCommandForExec(self, environment, currCommand):
if not self.isShortcutDefined(environment): if not self.isShortcutDefined(environment):
return environment return environment
environment['commandInfo']['currCommand'] = currCommand environment['commandInfo']['currCommand'] = currCommand