From 7601b33b6a63a0d852f11edd7446c56053939347 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 3 Jul 2017 20:07:54 +0200 Subject: [PATCH] use list() not [] --- src/ircbot/ircworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ircbot/ircworker.py b/src/ircbot/ircworker.py index 916fcbc4..3e683057 100644 --- a/src/ircbot/ircworker.py +++ b/src/ircbot/ircworker.py @@ -11,7 +11,7 @@ def do_work(): """ config = { 'nick': settings.IRCBOT_NICK, - 'autojoins': [set(settings.IRCBOT_CHANNELS.values())], + 'autojoins': list(set(settings.IRCBOT_CHANNELS.values())), 'host': settings.IRCBOT_SERVER_HOSTNAME, 'port': settings.IRCBOT_SERVER_PORT, 'ssl': settings.IRCBOT_SERVER_USETLS,