From 2411eb1e0a1211b0295c6be50306195be0cdf142 Mon Sep 17 00:00:00 2001 From: blank X Date: Sat, 17 Apr 2021 21:45:26 +0700 Subject: [PATCH] Fix typo --- ytnotifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytnotifier.py b/ytnotifier.py index ec2ad1b..c34d9eb 100644 --- a/ytnotifier.py +++ b/ytnotifier.py @@ -97,7 +97,7 @@ async def _handle_video(video_id, video_title): elif not last_was_few_moments: await client.send_message(notify_chat, f'{"Premiere" if is_premiere else "Live event"} starting in {human_end_schedule_time}: {html.escape(video_title)}') elif not last_was_few_moments: - await client.send_message(notify_chat, f'{"Premiere" if is_premeire else "Live event"} starting in {human_end_schedule_time}: {html.escape(video_title)}') + await client.send_message(notify_chat, f'{"Premiere" if is_premiere else "Live event"} starting in {human_end_schedule_time}: {html.escape(video_title)}') last_was_few_moments = 'moment' in human_end_schedule_time.lower() await asyncio.sleep(wait_time) else: