Update PeerJobLogger.py

pull/1005/head
Donald Zou 2025-12-02 11:34:07 +08:00
parent aba3c5da64
commit 61c9f5aab7
1 changed files with 4 additions and 1 deletions

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(