'channel.find_setting()' -> 'channel.find_settings()'
This commit is contained in:
parent
fd0baff093
commit
fe1c2c0205
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
def _open_votes(self, channel):
|
||||
open = []
|
||||
for setting, vote in channel.find_setting(prefix="vote-"):
|
||||
for setting, vote in channel.find_settings(prefix="vote-"):
|
||||
if vote["open"]:
|
||||
open.append(vote)
|
||||
return open
|
||||
|
|
Loading…
Reference in a new issue