diff --git a/python_accounting/reports/financial_statement.py b/python_accounting/reports/financial_statement.py index 6bb0866..76b551a 100644 --- a/python_accounting/reports/financial_statement.py +++ b/python_accounting/reports/financial_statement.py @@ -113,7 +113,7 @@ def _print_section(self, section, factor=1) -> str: for account_type, balance in self.balances[section.name].items(): label = f"\n{self.indent}{account_type}" content += f"{label}{balance * factor:>{self.width - len(label) + 1}}" - return content + return content def _print_result(self, result, grandtotal=False) -> str: return f"""{f"{self.subtotal:>{self.width}}"}\n{result}{f"{self.result_amounts[result.name]:>{self.width - len(result)}}"}\n{f"{self.grandtotal:>{self.width}}" if grandtotal else ""}"""