From 9fe522c7de882477183227dac7284559341cf78e Mon Sep 17 00:00:00 2001 From: Agah Date: Fri, 6 Sep 2024 22:07:30 -0400 Subject: [PATCH] update cond --- api/neurolibre_celery_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/neurolibre_celery_tasks.py b/api/neurolibre_celery_tasks.py index 353822a..25d4029 100644 --- a/api/neurolibre_celery_tasks.py +++ b/api/neurolibre_celery_tasks.py @@ -1271,7 +1271,7 @@ def preprint_build_pdf_draft(self, payload): def preview_build_myst_task(self, screening_dict): task = BaseNeuroLibreTask(self, screening_dict) task.start("Started MyST build.") - task.screening.commit_hash = task.screening.commit_hash or format_commit_hash(task.screening.repository_url,"HEAD") + task.screening.commit_hash = format_commit_hash(task.screening.repository_url, "HEAD") if task.screening.commit_hash in [None, "latest"] else task.screening.commit_hash task.screening.binder_hash = task.screening.binder_hash or task.screening.commit_hash rees_resources = REES(dict(