Removed redundant code

pull/8/head
sgoudham 4 years ago
parent 4636d041e5
commit 114306e47c

@ -559,7 +559,6 @@ class Anime(Cog):
# Store all data from the api in dict # Store all data from the api in dict
if len(api_data["data"]) > 0: if len(api_data["data"]) > 0:
for item in api_data["data"]: for item in api_data["data"]:
# Don't bother storing Hentai's or Games (Not yet until I figure out what data they send) # Don't bother storing Hentai's or Games (Not yet until I figure out what data they send)
if item["type"] in ["Waifu", "Husbando", "TV", "ONA", "OVA"]: if item["type"] in ["Waifu", "Husbando", "TV", "ONA", "OVA"]:
anime_or_waifu[item["name"]] = {} anime_or_waifu[item["name"]] = {}

Loading…
Cancel
Save