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):
|
||||
poll = self.poll
|
||||
|
||||
if poll:
|
||||
self.button_group = [] # button group
|
||||
for idx, option in enumerate(poll["options"]):
|
||||
voted_for = (
|
||||
|
|
Loading…
Reference in New Issue