Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
changes for better support
Browse files Browse the repository at this point in the history
  • Loading branch information
Tilix4 committed Dec 8, 2022
1 parent 89c5fdf commit 367b7b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openpype/lib/path_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def normalized(self):

cls = self.__class__
return cls(
os.path.normpath(self),
os.path.normpath(self.replace("\\", "/")),
self.template,
self.solved,
self.used_values,
Expand Down
2 changes: 1 addition & 1 deletion openpype/pipeline/load/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def get_representation_path_with_anatomy(repre_doc, anatomy):
"""

try:
template = repre_doc["data"]["template"].replace("\\", "/")
template = repre_doc["data"]["template"]

except KeyError:
raise InvalidRepresentationContext((
Expand Down

0 comments on commit 367b7b2

Please sign in to comment.