From 7d4c251dd0fb78d3652e63ee2d8f7958fcbcc3ef Mon Sep 17 00:00:00 2001 From: blank X Date: Sun, 18 Oct 2020 19:06:26 +0700 Subject: [PATCH] syntax error --- sukuinote/slave-plugins/anilist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'