Skip to content

Commit

Permalink
Update TUI behaviour to correctly check for empty choice list
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteOtter committed Oct 24, 2023
1 parent bf3d88e commit b323112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nester/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def interactive_mode() -> None:
choices: List[str] = ["---Abort---"]
projects = nester_log.find_all_projects()

if projects is not None:
if projects:
for project in projects:
choices.append(project)
else:
Expand Down

0 comments on commit b323112

Please sign in to comment.