no more need to print format result
This commit is contained in:
parent
57b2243ada
commit
0c425a2e9b
6 changed files with 12 additions and 18 deletions
|
|
@ -154,9 +154,7 @@ class ConsoleApplication(BaseApplication):
|
|||
|
||||
# Process result
|
||||
if isinstance(command_result, Results):
|
||||
s = self.format(command_result)
|
||||
if s:
|
||||
print s
|
||||
self.format(command_result)
|
||||
return 0
|
||||
elif isinstance(command_result, (str, unicode)):
|
||||
print command_result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue