mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
changes for better support
This commit is contained in:
parent
89c5fdfb27
commit
367b7b262e
2 changed files with 2 additions and 2 deletions
|
|
@ -422,7 +422,7 @@ class TemplateResult(str):
|
|||
|
||||
cls = self.__class__
|
||||
return cls(
|
||||
os.path.normpath(self),
|
||||
os.path.normpath(self.replace("\\", "/")),
|
||||
self.template,
|
||||
self.solved,
|
||||
self.used_values,
|
||||
|
|
|
|||
|
|
@ -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((
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue