From afb96bc855a3a9c2cbb53f43070d944fab3cb343 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Sat, 18 May 2024 12:04:28 +0200 Subject: [PATCH] Bug fix validate_yaml.py --- validate_yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate_yaml.py b/validate_yaml.py index c61a488..44b9925 100755 --- a/validate_yaml.py +++ b/validate_yaml.py @@ -33,5 +33,5 @@ today = date.today() last_year = today - timedelta(days=365) next_year = today + timedelta(days=2 * 365) -events = agenda.data.read_events_yaml(data_dir, last_year, next_year) +events = agenda.events_yaml.read(data_dir, last_year, next_year) print(len(events), "events")