Skip to content

Commit

Permalink
datadir / d.name
Browse files Browse the repository at this point in the history
  • Loading branch information
untzag committed Aug 21, 2020
1 parent fba6385 commit 8a87992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attune/_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a87992

Please sign in to comment.