Skip to content

Commit

Permalink
Card stacking input fix
Browse files Browse the repository at this point in the history
  • Loading branch information
workonfire committed May 10, 2021
1 parent 3d1e567 commit b7a4709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uno/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def main():
if initial_cards > 1:
break
print(Fore.RED + "The number of initial cards can't be lower than 2." + Fore.RESET)
card_stacking: bool = input("Card stacking (Y/n): ").lower() == 'y' or ''
card_stacking: bool = input("Card stacking (Y/n): ").lower() in ('y', '')

rules: Dict[str, Any] = {'initial_cards': initial_cards,
'cheats': cheats,
Expand Down

0 comments on commit b7a4709

Please sign in to comment.