Update output

This commit is contained in:
Gabriel Augendre 2020-01-15 15:34:57 +01:00
parent 1da80e942b
commit 160703d3cb
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4
3 changed files with 9 additions and 4 deletions

View file

@ -1 +1 @@
__version__ = "0.1.3"
__version__ = "0.1.4"

View file

@ -26,8 +26,6 @@ def cli(ofx_filename):
for transaction in ofx.statements[0].transactions:
if "CB****" in transaction.name:
click.secho("Edited transaction {}".format(transaction.checknum), fg="blue")
name = transaction.name
memo = transaction.memo
conversion = re.compile(r"\d+,\d{2}[a-zA-Z]{3}")
@ -39,6 +37,13 @@ def cli(ofx_filename):
transaction.name = memo
transaction.memo = name
click.secho(
"Edited transaction {} ({})".format(
transaction.checknum, transaction.name
),
fg="blue",
)
header = str(make_header(version=102))
root = ofx.to_etree()
data = ElementTree.tostring(root).decode()

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "ofx-processor"
version = "0.1.3"
version = "0.1.4"
description = "Personal ofx processor"
readme = "README.md"
license = "GPL-3.0-or-later"