From 7a0c868161135ad831d4ca0add09a91e6f8d60b7 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Sat, 13 Jan 2018 19:14:00 +0100 Subject: [PATCH] Reduce duplicates in importer --- byro_shackspace/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/byro_shackspace/utils.py b/byro_shackspace/utils.py index b1f9f39..d68876b 100644 --- a/byro_shackspace/utils.py +++ b/byro_shackspace/utils.py @@ -37,8 +37,7 @@ def process_bank_csv(sender, signal, **kwargs): purpose=reference, originator=line.get('Auftraggeber/Empfänger', ''), 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