parent
e18a4e85a8
commit
cc3ba3a263
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ class QifFormatter(IFormatter):
|
|||
MANDATORY_FIELDS = ('id', 'date', 'raw', 'amount')
|
||||
|
||||
def start_format(self, **kwargs):
|
||||
self.output(u'!type:Bank')
|
||||
self.output(u'!Type:Bank')
|
||||
|
||||
def format_obj(self, obj, alias):
|
||||
result = u'D%s\n' % obj.date.strftime('%d/%m/%y')
|
||||
|
|
@ -50,7 +50,7 @@ class PrettyQifFormatter(QifFormatter):
|
|||
MANDATORY_FIELDS = ('id', 'date', 'raw', 'amount', 'category')
|
||||
|
||||
def start_format(self, **kwargs):
|
||||
self.output(u'!type:Bank')
|
||||
self.output(u'!Type:Bank')
|
||||
|
||||
def format_obj(self, obj, alias):
|
||||
if hasattr(obj, 'rdate') and not empty(obj.rdate):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue