🩹 Automatically convert the vote to upper-case

This commit is contained in:
Brian Wiborg 2023-04-03 18:08:36 +02:00
parent d4a1601389
commit 1a89aa519c
No known key found for this signature in database
GPG Key ID: BE53FA9286B719D6

View File

@ -94,5 +94,5 @@ def vote(title: str,
voting = store.pop(title)
if not Voting:
return
voting.vote(voter, Vote[vote])
voting.vote(voter, Vote[vote.upper()])
store.push(voting)