Enforce correct capitalization of PayPal

This commit is contained in:
2020-02-01 07:39:02 +00:00
parent beb9072291
commit 5a6e7914c9
5 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ for o in old:
new = {}
for f in TRANSACTION_FIELDS:
new[f] = o.__dict__.get(f, None)
new[f] = o.__dict__.get(f, None).replace('Paypal', 'PayPal')
models.Transaction.objects.create(**new)
print('Imported transaction #{} - {} {}'.format(