Skip to content

Commit

Permalink
Just Path, not pathlib
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-l-kong committed Jul 21, 2023
1 parent 5ec6bb2 commit 5e48e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/toffy/fov_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ def _check_bin_updates(self):
# NOTE: creation time access is different on Windows/Linux vs MacOS
print("Testing the extraction process on the following OS: %s" % platform.system())
if platform.system() in ["Windows", "Linux"]:
fov_bin_create = Pathlib.path(fov_bin_path).stat().st_ctime
fov_json_create = Pathlib.path(fov_json_path).stat().st_ctime
fov_bin_create = Path(fov_bin_path).stat().st_ctime
fov_json_create = Path(fov_json_path).stat().st_ctime
print("The creation time of .bin create: %.2f" % fov_bin_create)
print("The creation time of .json create: %.2f" % fov_json_create)
else:
Expand Down

0 comments on commit 5e48e38

Please sign in to comment.