mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
add a warning to roots
This commit is contained in:
parent
35986f21ba
commit
9887b069ff
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@ class RootItem(FormatObject):
|
|||
self.available_platforms = set(lowered_platform_keys.keys())
|
||||
|
||||
current_platform = platform.system().lower()
|
||||
# WARNING: Using environment variables in roots is not considered
|
||||
# as production safe. Some features may not work as expected, for
|
||||
# example USD resolver or site sync.
|
||||
self.value = lowered_platform_keys[current_platform].format_map(
|
||||
os.environ
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue