Removed unnecessary check that poll exists

This commit is contained in:
Daniel Schwarz 2023-02-14 22:40:35 -05:00
parent b2a0bc5634
commit 63bc11316b
1 changed files with 24 additions and 25 deletions

View File

@ -51,7 +51,6 @@ class Poll(urwid.ListBox):
def generate_poll_detail(self):
poll = self.poll
if poll:
self.button_group = [] # button group
for idx, option in enumerate(poll["options"]):
voted_for = (