From 17b9e0253b57434e606d422842095dc5b9dcf61c Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 8 Mar 2017 01:19:58 -0600 Subject: [PATCH] Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables --- cogs/da.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/da.py b/cogs/da.py index b598b9b..d022579 100644 --- a/cogs/da.py +++ b/cogs/da.py @@ -155,7 +155,7 @@ class Deviantart: if content is None or content['subbed'] is None: await ctx.send("You are not subscribed to anyone at the moment!") elif username in content['subbed']: - content[0]['subbed'].remove(username) + content['subbed'].remove(username) await utils.update_content('deviantart', {'subbed': content[0]['subbed']}, key) await ctx.send("You have just unsubscribed from {}!".format(username)) else: