summaryrefslogtreecommitdiff
path: root/transaction_details.py
diff options
context:
space:
mode:
Diffstat (limited to 'transaction_details.py')
-rw-r--r--transaction_details.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/transaction_details.py b/transaction_details.py
index dec0ee7..baa6ef3 100644
--- a/transaction_details.py
+++ b/transaction_details.py
@@ -51,9 +51,9 @@ def parse_transaction_details(details):
result[DETAIL_KEYS[key]] = value
else:
if key == '33':
- result[DETAIL_KEYS['32']] += value
+ result[DETAIL_KEYS['32']] = (result[DETAIL_KEYS['32']] or '') + value
elif key.startswith('2'):
- result[DETAIL_KEYS['20']] += value
+ result[DETAIL_KEYS['20']] = (result[DETAIL_KEYS['20']] or '') + value
else:
raise ValueError('Found Key ?{}, which is not documented'.format(key))
post_result = {}