Fix: Template path wrong normpath for cross platform

This commit is contained in:
Félix David 2022-12-06 14:31:00 +01:00
parent 7c16c15ecb
commit 89c5fdfb27

View file

@ -555,7 +555,7 @@ def get_representation_path_with_anatomy(repre_doc, anatomy):
"""
try:
template = repre_doc["data"]["template"]
template = repre_doc["data"]["template"].replace("\\", "/")
except KeyError:
raise InvalidRepresentationContext((