i am idiot

This commit is contained in:
blank X 2020-10-18 19:04:52 +07:00
parent cf7f4564ac
commit 4e70b4b953
1 changed files with 3 additions and 2 deletions

View File

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