diff --git a/src/openeo_gfmap/manager/job_manager.py b/src/openeo_gfmap/manager/job_manager.py index 05bc2c0..0f1ef63 100644 --- a/src/openeo_gfmap/manager/job_manager.py +++ b/src/openeo_gfmap/manager/job_manager.py @@ -129,8 +129,7 @@ def __init__( self._catalogue_cache = output_dir / "catalogue_cache.bin" self.stac = stac - if stac is not None: - self.lock = Lock() + self.lock = Lock() self.stac_enabled = stac_enabled self.collection_id = collection_id self.collection_description = collection_description