Update PeerJobLogger.py

This commit is contained in:
Donald Zou
2025-12-02 11:34:07 +08:00
parent aba3c5da64
commit 61c9f5aab7

View File

@@ -68,7 +68,10 @@ class PeerJobLogger:
db.select(
self.jobLogTable.c.JobID
).where(
self.jobLogTable.c.Status == 'false'
db.or_(
self.jobLogTable.c.Status == 'false',
self.jobLogTable.c.Status == 0
)
).group_by(
self.jobLogTable.c.JobID
).having(