diff --git a/src/accounting/report/reports/search.py b/src/accounting/report/reports/search.py index 46c7bc1..c98278e 100644 --- a/src/accounting/report/reports/search.py +++ b/src/accounting/report/reports/search.py @@ -236,8 +236,7 @@ class Search(BaseReport): :param k: The keyword. :return: The condition to filter the transaction. """ - conditions: list[sa.BinaryExpression] \ - = [Transaction.note.contains(k)] + conditions: list[sa.BinaryExpression] = [Transaction.note.contains(k)] txn_date: datetime try: txn_date = datetime.strptime(k, "%Y")