Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit cdee922

Browse files
authored
fix: int object has no attribute action (#20)
1 parent 5977cb3 commit cdee922

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def monitor_queued_jobs():
131131
if not jobs:
132132
return
133133

134-
queued_jobs = [job for job in jobs if job.action == "queued"]
134+
queued_jobs = [job for job in jobs.values() if job.action == "queued"]
135135
job = min(queued_jobs, key=lambda x: x.time_start)
136136
delay = (datetime.now() - job.time_start).seconds
137137

0 commit comments

Comments
 (0)