i am dumb

This commit is contained in:
blank X 2020-10-18 19:25:02 +07:00
parent df2a05beb0
commit acda49f3fb
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ async def generate_media(anilist):
if anilist['type'] != 'MANGA': if anilist['type'] != 'MANGA':
text += f'<b>Format:</b> {format}\n' text += f'<b>Format:</b> {format}\n'
text += f'<b>Status:</b> {status}\n' text += f'<b>Status:</b> {status}\n'
if anilist['nextAiringEpisode']: if next_airing_episode:
airing_at = str(datetime.datetime.fromtimestamp(next_airing_episode['airingAt'])) airing_at = str(datetime.datetime.fromtimestamp(next_airing_episode['airingAt']))
time_until_airing = str(datetime.timedelta(seconds=next_airing_episode['timeUntilAiring'])) time_until_airing = str(datetime.timedelta(seconds=next_airing_episode['timeUntilAiring']))
text += f'<b>Airing At:</b> {airing_at}\n<b>Airing In:</b> {time_until_airing}\n' text += f'<b>Airing At:</b> {airing_at}\n<b>Airing In:</b> {time_until_airing}\n'