diff --git a/attune/_store.py b/attune/_store.py index 023d45d..43a6386 100644 --- a/attune/_store.py +++ b/attune/_store.py @@ -28,7 +28,7 @@ def find(name, time): if datadir.exists(): for d in sorted(datadir.iterdir(), reverse=True): if d.name <= iso8061: - return d + return datadir / d.name if month == 1: year -= 1 month = 12