Skip to content
Snippets Groups Projects
Commit 0a3cb2ed authored by Martin Mareš's avatar Martin Mareš
Browse files

mo.jobs: Opraveno procházení jobů

Není mi úplně jasné, jak to někdy mohlo fungovat – že by nekompatibilita
mezi verzemi SqlAlchemy?
parent f88e1b7a
Branches
No related tags found
No related merge requests found
This commit is part of merge request !124. Comments created here will be created in the context of that merge request.
......@@ -211,7 +211,7 @@ def process_jobs(min_priority: int = 0):
.order_by(db.Job.created_at)
.all())
sess.rollback()
for job_id in ready:
for job_id, in ready:
tj = TheJob(job_id)
tj.run()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment