Skip to content

Commit

Permalink
Fix bad call to os.utime in paths.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WyohKnott authored and datawhores committed Dec 30, 2024
1 parent 97fd5b5 commit d185f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ofscraper/commands/scraper/actions/utils/paths/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def addLocalDir(path):
def set_time(path, timestamp):
if platform.system() == "Windows":
setctime(path, timestamp)
pathlib.os.utime(path, (timestamp, timestamp))
os.utime(path, (timestamp, timestamp))


def setDirectoriesDate(log=None):
Expand Down

0 comments on commit d185f62

Please sign in to comment.