diff --git a/sukuinote/slave-plugins/anilist.py b/sukuinote/slave-plugins/anilist.py index 6eb599f..57d686e 100644 --- a/sukuinote/slave-plugins/anilist.py +++ b/sukuinote/slave-plugins/anilist.py @@ -112,7 +112,7 @@ async def generate_media(anilist): text += f'Average Score: {average_score}%\n' if episodes: text += f'Episodes: ' - if anilist['airingSchedule'] + if anilist['airingSchedule']: if anilist['airingSchedule']['nodes']: text += f'{anilist["airingSchedule"]["nodes"][0]["episode"] - 1}/' text += f'{episodes}\n'