add CSV formatter (closes #350)
This commit is contained in:
parent
a792b6601c
commit
d6e28f60a5
2 changed files with 44 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class FormatterLoadError(Exception):
|
|||
pass
|
||||
|
||||
class FormattersLoader(object):
|
||||
BUILTINS = ['htmltable', 'multiline', 'simple', 'table', 'webkit']
|
||||
BUILTINS = ['htmltable', 'multiline', 'simple', 'table', 'csv', 'webkit']
|
||||
|
||||
def __init__(self):
|
||||
self.formatters = {}
|
||||
|
|
@ -66,3 +66,6 @@ class FormattersLoader(object):
|
|||
elif name == 'webkit':
|
||||
from .webkit import WebkitGtkFormatter
|
||||
return WebkitGtkFormatter
|
||||
elif name == 'csv':
|
||||
from .csv import CSVFormatter
|
||||
return CSVFormatter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue