Remove letter_choices() redundancy.

This commit is contained in:
Sage Vaillancourt 2022-09-30 16:44:41 -04:00
parent 76eec9c82c
commit 069873de02
1 changed files with 0 additions and 3 deletions

View File

@ -147,9 +147,6 @@ def add_letter() -> Response:
def letter_choices(letters: list[db.Letter]) -> list[(int, str)]: def letter_choices(letters: list[db.Letter]) -> list[(int, str)]:
if len(letters) == 0:
return []
return [(i + 1, letter.title) for i, letter in enumerate(letters)] return [(i + 1, letter.title) for i, letter in enumerate(letters)]