always flush formatter after calling a command

This commit is contained in:
Romain Bignon 2011-08-12 09:54:11 +02:00
commit 18dd9e2b8f
2 changed files with 16 additions and 10 deletions

View file

@ -77,6 +77,9 @@ class TableFormatter(IFormatter):
s += table.get_html_string()
else:
s += table.get_string()
self.queue = []
if self.return_only:
return s
else: