diff --git a/vanth/ofx.py b/vanth/ofx.py index 45e392b..685e900 100644 --- a/vanth/ofx.py +++ b/vanth/ofx.py @@ -126,6 +126,7 @@ def body(institution, account, start): return "\r\n" + signonmsg(institution, account) + "\r\n" + bankmsg(institution, account, start) + "\r\n" def query_transactions(institution, account, start=None): + start = start or datetime.datetime.now() - datetime.timedelta(days=14) return header() + (2*"\r\n") + body(institution, account, start) + "\r\n"