diff --git a/htagweb/fifo.py b/htagweb/fifo.py index f71f8e9..4757b4e 100644 --- a/htagweb/fifo.py +++ b/htagweb/fifo.py @@ -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: