Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoknjas committed Apr 23, 2024
1 parent bf13d5a commit 1bc933d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypickle/Files.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,5 @@ def apply_aliases(lst: list[str]) -> list[str]:
# If lst got updated, keep recursing (as some aliases may have aliases of their own):
return apply_aliases(lst) if lst != old_lst else lst

def modified_secs_ago(p: Path) -> float:
def modified_secs_ago(p: Path) -> int:
return time.time() - os.path.getmtime(p)

0 comments on commit 1bc933d

Please sign in to comment.