Bug fix validate_yaml.py
This commit is contained in:
parent
cd16b857a0
commit
afb96bc855
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue