Fix memo field part ordering for Python < 3.6. DictReader dict keys() were not ordered before then.
This commit is contained in:
parent
9b5d431800
commit
676eb5de2f
@ -29,7 +29,7 @@ def process_bank_csv(sender, signal, **kwargs):
|
||||
if not line:
|
||||
continue
|
||||
reference = ''
|
||||
for key in line.keys():
|
||||
for key in reader.fieldnames:
|
||||
if key.startswith('VWZ'):
|
||||
reference += line[key] + ' '
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user