From aaa63a7c27e5808d62f3fe592d6e7d169419e913 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Fri, 12 Aug 2016 19:38:56 -0500 Subject: [PATCH] Changed variable name to not interfere with the method name --- cogs/picarto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/picarto.py b/cogs/picarto.py index b6aa6f2..84a960d 100644 --- a/cogs/picarto.py +++ b/cogs/picarto.py @@ -36,13 +36,13 @@ class Picarto: await self.bot.wait_until_ready() while not self.bot.is_closed: picarto = config.getContent('picarto') or {} - online_users = await online_users() + online_users_list = await online_users() for m_id, r in picarto.items(): url = r['picarto_url'] live = r['live'] notify = r['notifications_on'] user = re.search("(?<=picarto.tv/)(.*)", url).group(1) - online = check_online(online_users, user) + online = check_online(online_users_list, user) if not live and notify and online: for server_id in r['servers'].items():