Push to YNAB only when transactions exist in BPVF
This commit is contained in:
parent
35c715a03a
commit
f2b80d4db4
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def cli(ofx_filename, push_to_ynab, output_file):
|
|||
f.write(header + data)
|
||||
click.secho("{} written".format(processed_file), fg="green")
|
||||
|
||||
if push_to_ynab:
|
||||
if push_to_ynab and ynab_transactions:
|
||||
ynab.push_transactions(ynab_transactions, "bpvf")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue