diff --git a/ofx_processor/__init__.py b/ofx_processor/__init__.py index ae73625..bbab024 100644 --- a/ofx_processor/__init__.py +++ b/ofx_processor/__init__.py @@ -1 +1 @@ -__version__ = "0.1.3" +__version__ = "0.1.4" diff --git a/ofx_processor/main.py b/ofx_processor/main.py index d1e319e..50d1bc3 100644 --- a/ofx_processor/main.py +++ b/ofx_processor/main.py @@ -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() diff --git a/pyproject.toml b/pyproject.toml index f0f963b..5e05ce1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"