Reduce duplicates in importer

This commit is contained in:
Tobias Kunze 2018-01-13 19:14:00 +01:00
parent 7aaea4aee1
commit 7a0c868161

View File

@ -37,8 +37,7 @@ def process_bank_csv(sender, signal, **kwargs):
purpose=reference,
originator=line.get('Auftraggeber/Empfänger', '<leer>'),
importer='shack_bank_csv_importer',
data=line,
defaults={'source': source, 'booking_datetime': booking_timestamp},
defaults={'source': source, 'booking_datetime': booking_timestamp, 'data': line},
)
return True