Skip to content

Commit 0d8f03e

Browse files
authored
Merge pull request #17 from Zitishk/patch-1
Update financial_statement.py
2 parents 2948585 + f350a1b commit 0d8f03e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python_accounting/reports/financial_statement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def _print_section(self, section, factor=1) -> str:
113113
for account_type, balance in self.balances[section.name].items():
114114
label = f"\n{self.indent}{account_type}"
115115
content += f"{label}{balance * factor:>{self.width - len(label) + 1}}"
116-
return content
116+
return content
117117

118118
def _print_result(self, result, grandtotal=False) -> str:
119119
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 ""}"""

0 commit comments

Comments
 (0)