use list() not []

This commit is contained in:
Thomas Steen Rasmussen 2017-07-03 20:07:54 +02:00
parent 84f79572b0
commit 7601b33b6a

View file

@ -11,7 +11,7 @@ def do_work():
""" """
config = { config = {
'nick': settings.IRCBOT_NICK, 'nick': settings.IRCBOT_NICK,
'autojoins': [set(settings.IRCBOT_CHANNELS.values())], 'autojoins': list(set(settings.IRCBOT_CHANNELS.values())),
'host': settings.IRCBOT_SERVER_HOSTNAME, 'host': settings.IRCBOT_SERVER_HOSTNAME,
'port': settings.IRCBOT_SERVER_PORT, 'port': settings.IRCBOT_SERVER_PORT,
'ssl': settings.IRCBOT_SERVER_USETLS, 'ssl': settings.IRCBOT_SERVER_USETLS,