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:
parent
b2a0bc5634
commit
63bc11316b
@ -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 = (
|
||||||
|
Loading…
Reference in New Issue
Block a user