From 330967435408c0ae6296b0bc2d5b1fd648acb5de Mon Sep 17 00:00:00 2001 From: Kai Vogelgesang Date: Fri, 28 Oct 2022 16:53:08 +0200 Subject: [PATCH] Fix EMPTY_INPUT object being overwritten --- backend/backend/arbiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/backend/arbiter.py b/backend/backend/arbiter.py index 7cc3808..2ad710e 100644 --- a/backend/backend/arbiter.py +++ b/backend/backend/arbiter.py @@ -184,7 +184,7 @@ async def _(get_input: InputGetter, set_output: OutputSetter): max_votes = votes max_choice = choice - output = EMPTY_INPUT + output = {button: False for button in Button} if max_choice != "none": output[max_choice] = True