Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 232f449

Browse files
committed
Fix
1 parent b3bde10 commit 232f449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pollbot/models/option.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self, poll, name):
5353
self.poll = poll
5454
self.name = name
5555
if len(poll.options) == 0:
56-
option.index = 0
56+
self.index = 0
5757
else:
5858
self.index = max(option.index for option in poll.options) + 1
5959

0 commit comments

Comments
 (0)