Commit 546f28b0 authored by Phyks (Lucas Verney)'s avatar Phyks (Lucas Verney)
Browse files

Handle coming transactions with deferred debit cards

parent 92a9f2b8
Pipeline #32719 passed with stages
in 5 minutes and 37 seconds
......@@ -472,6 +472,19 @@ class Connector(object):
'debit_date': debit_date,
'title': title
})
# Handle upcoming transactions
for line in backend.iter_coming(account):
results.append({
'account': account.id,
'amount': unicode(line.amount),
'raw': unicode(line.raw),
'type': line.type,
'date': isodate,
'debit_date': debit_date,
'title': title
})
except NotImplementedError:
# Weboob raises a NotImplementedError upon iteration, not upon
# method call. Hence, this exception should wrap the whole
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment