aboutsummaryrefslogtreecommitdiff
path: root/weekly.py
diff options
context:
space:
mode:
Diffstat (limited to 'weekly.py')
-rwxr-xr-xweekly.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/weekly.py b/weekly.py
index 1863a57..118ea1d 100755
--- a/weekly.py
+++ b/weekly.py
@@ -463,7 +463,8 @@ def parse_meal_tables(
daysmenus: list[list[list[str]]] = [[], [], [], [], []]
- assert len(tbl[0]) == 6
+ if len(tbl[0]) != 6:
+ logger.warning(100 * "@" + "Fewer than 5 days of menus, time to audit?")
for i in range(1, len(tbl[0])):
for s, f in windows: