[IMP] base_cron_exclusion: black, isort, prettier

pull/2478/head
Christopher Ormaza 2021-12-10 11:11:07 -05:00 committed by joan
parent 4b5050c4e2
commit 9dbefb8968
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class IrCron(models.Model):
GROUP BY cron_id;""",
(job_id, job_id),
)
locked_ids = tuple([row[0] for row in lock_cr.fetchall()])
locked_ids = tuple(row[0] for row in lock_cr.fetchall())
if locked_ids:
lock_cr.execute(
"""SELECT *