mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Revert backward incompatible change of path to template to multiplatform
It requires to use `work[root]` to handle multiplatformity. In the case of customer request it needs to be reworked for proper multiplatformity.
This commit is contained in:
parent
8356bf98e5
commit
84fe7e7c7b
2 changed files with 2 additions and 5 deletions
|
|
@ -13,7 +13,6 @@ about it's progress.
|
|||
|
||||
import os
|
||||
import re
|
||||
import platform
|
||||
import collections
|
||||
import copy
|
||||
from abc import ABCMeta, abstractmethod
|
||||
|
|
@ -764,9 +763,7 @@ class AbstractTemplateBuilder(object):
|
|||
"with host '{}'"
|
||||
).format(task_name, task_type, host_name))
|
||||
|
||||
current_platform = platform.system().lower()
|
||||
# backward compatibility for single platform version
|
||||
path = profile["path"].get(current_platform) or profile["path"]
|
||||
path = profile["path"]
|
||||
|
||||
# switch to remove placeholders after they are used
|
||||
keep_placeholder = profile.get("keep_placeholder")
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
"key": "path",
|
||||
"label": "Path to template",
|
||||
"type": "path",
|
||||
"multiplatform": true,
|
||||
"multiplatform": false,
|
||||
"multipath": false
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue