mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Log
This commit is contained in:
parent
7b17e1d461
commit
e244778b3a
1 changed files with 4 additions and 0 deletions
|
|
@ -74,6 +74,10 @@ def get_nodes_by_id(standin):
|
|||
json_path = os.path.join(os.path.dirname(path), f)
|
||||
break
|
||||
|
||||
if not json_path:
|
||||
log.warning("Could not find json file for {}.".format(standin))
|
||||
return {}
|
||||
|
||||
with open(json_path, "r") as f:
|
||||
return json.load(f)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue