From c67be909707ab5d9a1c86af2b41a7e1facc9f2d7 Mon Sep 17 00:00:00 2001 From: belthlemar Date: Fri, 5 Jul 2024 18:48:01 +0200 Subject: [PATCH] little fix --- antarest/study/storage/abstract_storage_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/antarest/study/storage/abstract_storage_service.py b/antarest/study/storage/abstract_storage_service.py index 22bab623d4..08ee83287b 100644 --- a/antarest/study/storage/abstract_storage_service.py +++ b/antarest/study/storage/abstract_storage_service.py @@ -142,11 +142,11 @@ def get(self, metadata: T, url: str = "", depth: int = 3, format: str = "", use_ logger.info(f"Raw Study {metadata.id} read from cache") data = from_cache else: - data = study.tree.get(parts, depth=depth) + data = study.tree.get(parts, depth=depth, format=format) self.cache.put(cache_id, data) logger.info(f"Cache new entry from RawStudyService (studyID: {metadata.id})") else: - data = study.tree.get(parts, depth=depth) + data = study.tree.get(parts, depth=depth, format=format) del study return data