summaryrefslogtreecommitdiff
path: root/postgresqleu
diff options
context:
space:
mode:
Diffstat (limited to 'postgresqleu')
-rw-r--r--postgresqleu/plaid/management/commands/plaid_fetch_transactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/plaid/management/commands/plaid_fetch_transactions.py b/postgresqleu/plaid/management/commands/plaid_fetch_transactions.py
index 52cba0b0..2fe54016 100644
--- a/postgresqleu/plaid/management/commands/plaid_fetch_transactions.py
+++ b/postgresqleu/plaid/management/commands/plaid_fetch_transactions.py
@@ -50,7 +50,7 @@ class Command(BaseCommand):
defaults={
'datetime': parse_datetime(t['datetime']) if t['datetime'] else make_aware(datetime.combine(parse_date(t['date']), time(0, 0))),
'amount': -Decimal(str(t['amount'])), # All plaid amounts are reported negative
- 'paymentref': t['name'][:200],
+ 'paymentref': t['name'][:200].replace(',', ' '),
'transactionobject': t,
}
)