Skip to content

Commit

Permalink
ensure title case
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Decal committed Apr 1, 2023
1 parent ae61691 commit a7d120a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubuntu_namer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def generate_name(
adjective = random.choice(ubuntu_names[letter]["adjectives"])
animals = random.choice(ubuntu_names[letter]["animals"])

ubuntu_name = f"{adjective} {animals}"
ubuntu_name = f"{adjective} {animals}".strip().title()

console.print(f"[bold red]{ubuntu_name}[/]")

Expand Down

0 comments on commit a7d120a

Please sign in to comment.