Skip to content

Commit f875ab8

Browse files
committed
fix: mypy fix attempt
1 parent 75b90b6 commit f875ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ape_ledger/choices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_user_selected_account(self) -> tuple[str, "HDAccountPath"]:
7373

7474
address = self._get_user_selection()
7575

76-
account_id = self._choice_index + self._index_offset
76+
account_id = (self._choice_index or 0) + self._index_offset
7777
return address, self._hd_root_path.get_account_path(account_id)
7878

7979
def _get_user_selection(self) -> str:

0 commit comments

Comments
 (0)