aboutsummaryrefslogtreecommitdiff
path: root/weekly.py
diff options
context:
space:
mode:
Diffstat (limited to 'weekly.py')
-rwxr-xr-xweekly.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/weekly.py b/weekly.py
index 118ea1d..8b8f20b 100755
--- a/weekly.py
+++ b/weekly.py
@@ -639,11 +639,11 @@ def download_menu(
):
try:
subject_1st_month = datetime.datetime.strptime(
- matched_groups[0], "%B"
+ matched_groups[0], "%b" # issues here are probably locales
).month
subject_1st_day = int(matched_groups[1])
except ValueError:
- raise ValueError(hit["resource"]["subject"]) from None
+ raise ValueError(hit["resource"]["subject"], matched_groups[0])
if (
subject_1st_month == datetime_target.month
and subject_1st_day == datetime_target.day