Skip to content

Commit

Permalink
Merge pull request #51 from nijel/fstring
Browse files Browse the repository at this point in the history
chore: use f-string to generate full account number
  • Loading branch information
honzajavorek authored Jan 6, 2025
2 parents 7c7bda1 + cb4aaa0 commit a3d3ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fiobank.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _add_account_number_full(self, obj: dict) -> None:
bank_code = obj.get("bank_code")

if account_number is not None and bank_code is not None:
account_number_full = "{}/{}".format(account_number, bank_code)
account_number_full = f"{account_number}/{bank_code}"
else:
account_number_full = None

Expand Down

0 comments on commit a3d3ca9

Please sign in to comment.