From 1a89aa519cfdf7e455ed019ecb6f5b9a24451b23 Mon Sep 17 00:00:00 2001 From: Brian Wiborg Date: Mon, 3 Apr 2023 18:08:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Automatically=20convert=20the=20?= =?UTF-8?q?vote=20to=20upper-case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- voting/cli/voting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voting/cli/voting.py b/voting/cli/voting.py index d4608ca..bf9dad4 100644 --- a/voting/cli/voting.py +++ b/voting/cli/voting.py @@ -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) \ No newline at end of file