Skip to content

Commit

Permalink
getmtime -> getctime
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-l-kong committed Jul 21, 2023
1 parent 6f8cb53 commit d56e256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toffy/fov_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def _check_bin_updates(self):
# if .bin file creation time > modify time, not fully written when extracted
# need to re-extract
fov_bin_create = os.path.getctime(fov_bin_path)
fov_json_create = os.path.getmtime(fov_json_path)
fov_json_create = os.path.getctime(fov_json_path)
if fov_bin_create > fov_json_create:
print(f"Re-extracting incompletely extracted FOV {fov}")
logging.info(
Expand Down

0 comments on commit d56e256

Please sign in to comment.