Fix EMPTY_INPUT object being overwritten
This commit is contained in:
parent
b18d1abe0c
commit
3309674354
@ -184,7 +184,7 @@ async def _(get_input: InputGetter, set_output: OutputSetter):
|
|||||||
max_votes = votes
|
max_votes = votes
|
||||||
max_choice = choice
|
max_choice = choice
|
||||||
|
|
||||||
output = EMPTY_INPUT
|
output = {button: False for button in Button}
|
||||||
if max_choice != "none":
|
if max_choice != "none":
|
||||||
output[max_choice] = True
|
output[max_choice] = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user