Skip to content

Commit

Permalink
chore: use f-string to generate full account number
Browse files Browse the repository at this point in the history
This makes the code easier to read.
  • Loading branch information
nijel committed Jan 6, 2025
1 parent 623062f commit cb4aaa0
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 @@ -186,7 +186,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 cb4aaa0

Please sign in to comment.