fix mistake in last commit

This commit is contained in:
Calum Lind 2012-04-19 18:07:45 +01:00
parent 266127bb69
commit 934a0f6495

View file

@ -420,7 +420,7 @@ class Legacy(BaseMode):
return
try:
args = self._commands[cmd].split(line)
args = self.console._commands[cmd].split(line)
except ValueError, e:
self.write("{!error!}Error parsing command: %s" % e)
return