syntax error

This commit is contained in:
blank X 2020-10-18 19:06:26 +07:00
parent 4e70b4b953
commit 7d4c251dd0
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ async def generate_media(anilist):
text += f'<b>Average Score:</b> {average_score}%\n'
if episodes:
text += f'<b>Episodes:</b> '
if anilist['airingSchedule']
if anilist['airingSchedule']:
if anilist['airingSchedule']['nodes']:
text += f'{anilist["airingSchedule"]["nodes"][0]["episode"] - 1}/'
text += f'{episodes}\n'