From 0a3cb2edbf617759c1576d034848ce19b81032d1 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Mon, 10 Oct 2022 18:38:33 +0200
Subject: [PATCH] =?UTF-8?q?mo.jobs:=20Opraveno=20proch=C3=A1zen=C3=AD=20jo?=
 =?UTF-8?q?b=C5=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Není mi úplně jasné, jak to někdy mohlo fungovat – že by nekompatibilita
mezi verzemi SqlAlchemy?
---
 mo/jobs/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mo/jobs/__init__.py b/mo/jobs/__init__.py
index 657b0635..3775fc37 100644
--- a/mo/jobs/__init__.py
+++ b/mo/jobs/__init__.py
@@ -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()
 
-- 
GitLab