'channel.find_setting()' -> 'channel.find_settings()'

This commit is contained in:
jesopo 2019-10-10 15:27:49 +01:00
parent fd0baff093
commit fe1c2c0205

View file

@ -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