diff --git a/site/zenodo_rdm/curation/tasks.py b/site/zenodo_rdm/curation/tasks.py index d65833db..55e24b43 100644 --- a/site/zenodo_rdm/curation/tasks.py +++ b/site/zenodo_rdm/curation/tasks.py @@ -46,8 +46,9 @@ def run_eu_record_curation(since): dsl.Q( "range", updated={ - "gte": datetime.fromisoformat(since).isoformat() - - timedelta(hours=12), + "gte": ( + datetime.fromisoformat(since) - timedelta(hours=12) + ).isoformat(), }, ), ],