corrected missing : also fixed indentation in core/inputManager.py

This commit is contained in:
Storm Dragon 2016-09-27 10:34:15 -04:00
parent cdf1c00434
commit 9d5d3427a5
2 changed files with 3 additions and 3 deletions

View File

@ -70,8 +70,8 @@ class inputManager():
def convertEventName(self, eventName):
if not eventName:
return ''
if eventName == '':
return ''
if eventName == '':
return ''
eventName = eventName.upper()
if eventName == 'KEY_LEFTCTRL':
eventName = 'KEY_CTRL'

View File

@ -82,7 +82,7 @@ class fenrir():
command = self.environment['runtime']['inputManager'].getCommandForShortcut(shortcut)
if len(self.environment['input']['prevDeepestInput']) < len(self.environment['input']['currInput']):
self.wasCommand = command != ''
if command == ''
if command == '':
return
self.environment['runtime']['commandManager'].queueCommand(command)