update paths to data access layers

This commit is contained in:
Dima Gerasimov 2020-01-10 23:37:21 +00:00
parent 012249ceca
commit 34bd2356ae
4 changed files with 11 additions and 11 deletions

View file

@ -233,7 +233,7 @@ def iter_events() -> Iterator[Res[Event]]:
yield e
emitted.add(key)
# TODO load events from GDPR export?
def get_events():
return sorted(iter_events(), key=lambda e: e.dt)