Add error message if send method is unknown
This commit is contained in:
parent
80a15d6825
commit
1a94bd6d36
2 changed files with 3 additions and 1 deletions
|
@ -44,6 +44,8 @@ class OfxBaseProcessor(BaseProcessor):
|
|||
self._send_sms(amount)
|
||||
elif method == "telegram":
|
||||
self._send_telegram(amount)
|
||||
else:
|
||||
click.secho(f"Method not implemented: {method}.", fg="red", bold=True)
|
||||
|
||||
def _get_reconciled_amount(self) -> Decimal:
|
||||
ofx = self._parse_file()
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "ofx-processor"
|
||||
version = "4.2.0"
|
||||
version = "4.2.1"
|
||||
description = "Personal ofx processor"
|
||||
readme = "README.md"
|
||||
authors = ["Gabriel Augendre <gabriel@augendre.info>"]
|
||||
|
|
Loading…
Reference in a new issue