Skip to content

Commit

Permalink
fix cdate
Browse files Browse the repository at this point in the history
  • Loading branch information
manatlan committed Jun 5, 2024
1 parent 6f9b9af commit 954d82c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htagweb/fifo.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ def exists(self) -> bool:

def dates(self) -> tuple:
if self.exists():
stat = os.stat(self.CLIENT_TO_SERVER_FIFO)
stat = os.stat(self.PID_FILE)
cdate = datetime.fromtimestamp(stat.st_ctime)
stat = os.stat(self.CLIENT_TO_SERVER_FIFO)
mdate = datetime.fromtimestamp(stat.st_mtime)
return (cdate,mdate)
else:
Expand Down

0 comments on commit 954d82c

Please sign in to comment.