mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
SyncServer - fix roots must have root key
This commit is contained in:
parent
8a341996f6
commit
cc832d0156
1 changed files with 3 additions and 2 deletions
|
|
@ -145,10 +145,11 @@ class AbstractProvider:
|
|||
Returns:
|
||||
(string): proper url
|
||||
"""
|
||||
if not root_config:
|
||||
root_config = self.get_roots_config(anatomy)
|
||||
|
||||
if root_config and not root_config.get("root"):
|
||||
root_config = {"root": root_config}
|
||||
else:
|
||||
root_config = self.get_roots_config(anatomy)
|
||||
|
||||
try:
|
||||
if not root_config:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue