From 75cf51966fe130658ae0a81d694fcde4959383dd Mon Sep 17 00:00:00 2001 From: James Dearlove Date: Sun, 15 Oct 2023 17:16:56 +1000 Subject: [PATCH] Extra log was not necessary --- uqcsbot/holidays.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/uqcsbot/holidays.py b/uqcsbot/holidays.py index f9044a8..eac4ea0 100644 --- a/uqcsbot/holidays.py +++ b/uqcsbot/holidays.py @@ -68,8 +68,6 @@ def get_holidays_from_page(holiday_page: str) -> List[Holiday]: holiday = Holiday(date, description, url) holidays.append(holiday) - if holidays == []: - logging.warn("Failed to get holidays from page.") return holidays