1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-24 16:10:52 +01:00

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

View File

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