1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables

This commit is contained in:
phxntxm 2017-03-08 01:19:58 -06:00
parent 061562b60d
commit 17b9e0253b

View file

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