Skip to content

Commit

Permalink
little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Jul 5, 2024
1 parent fbb4792 commit c67be90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions antarest/study/storage/abstract_storage_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c67be90

Please sign in to comment.