forked from gaugendre/ofx-processor
Update output
This commit is contained in:
parent
1da80e942b
commit
160703d3cb
3 changed files with 9 additions and 4 deletions
|
@ -1 +1 @@
|
|||
__version__ = "0.1.3"
|
||||
__version__ = "0.1.4"
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue