mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
changes to keep indentation consistend 2
This commit is contained in:
parent
eea4df6b51
commit
7f9a4e9528
11 changed files with 54 additions and 16 deletions
|
|
@ -463,10 +463,12 @@ def update_scene(set_container, containers, current_data, new_data, new_file):
|
|||
# Check whether the conversion can be done by the Loader.
|
||||
# They *must* use the same asset, subset and Loader for
|
||||
# `api.update` to make sense.
|
||||
old = io.find_one(
|
||||
{"_id": io.ObjectId(representation_current)}
|
||||
)
|
||||
new = io.find_one({"_id": io.ObjectId(representation_new)})
|
||||
old = io.find_one({
|
||||
"_id": io.ObjectId(representation_current)
|
||||
})
|
||||
new = io.find_one({
|
||||
"_id": io.ObjectId(representation_new)
|
||||
})
|
||||
is_valid = compare_representations(old=old, new=new)
|
||||
if not is_valid:
|
||||
log.error("Skipping: %s. See log for details.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue