Update commandManager.py
This commit is contained in:
parent
4b8b410a1a
commit
4422e9f47b
@ -119,7 +119,9 @@ class commandManager():
|
|||||||
self.env['commandInfo']['currCommand'] = ''
|
self.env['commandInfo']['currCommand'] = ''
|
||||||
|
|
||||||
def queueCommand(self, command):
|
def queueCommand(self, command):
|
||||||
|
if command == '':
|
||||||
|
return
|
||||||
self.env['commandInfo']['currCommand'] = command
|
self.env['commandInfo']['currCommand'] = command
|
||||||
|
|
||||||
def commandExists(self, command, section = 'commands'):
|
def commandExists(self, command, section = 'commands'):
|
||||||
return( command.upper() in self.env['commands'][section])
|
return( command in self.env['commands'][section])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user