mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-12-14 15:36:18 +00:00
Update PeerJobs.py
This commit is contained in:
@@ -192,8 +192,10 @@ class PeerJobs:
|
||||
self.deleteJob(j)
|
||||
|
||||
def cleanJob(self, init = False):
|
||||
|
||||
failingJobs = self.JobLogger.getFailingJobs()
|
||||
with self.engine.begin() as conn:
|
||||
print(conn.dialect.name)
|
||||
for job in failingJobs:
|
||||
conn.execute(
|
||||
self.peerJobTable.update().values(
|
||||
|
||||
Reference in New Issue
Block a user