new frontend 'weboobcfg'
This commit is contained in:
parent
dc706132ab
commit
7b2295cf6c
9 changed files with 167 additions and 49 deletions
|
|
@ -115,7 +115,7 @@ class ConsoleApplication(BaseApplication):
|
|||
sys.stderr.write("No such command: %s.\n" % command)
|
||||
elif len(matching_commands) == 1:
|
||||
try:
|
||||
getattr(self, matching_commands[0])(*args)
|
||||
return getattr(self, matching_commands[0])(*args)
|
||||
except TypeError, e:
|
||||
try:
|
||||
sys.stderr.write("Command '%s' takes %s arguments.\n" % \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue