mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
SyncServer fix duplication of document skeleton if same sites
MongoDB contained duplicated skeletons
This commit is contained in:
parent
2eaca1ea03
commit
0693d13fbd
1 changed files with 3 additions and 0 deletions
|
|
@ -976,6 +976,9 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
|
|||
local_site = local_site_id
|
||||
|
||||
remote_site = sync_server_presets["config"].get("remote_site")
|
||||
if remote_site == local_site:
|
||||
remote_site = None
|
||||
|
||||
if remote_site == 'local':
|
||||
remote_site = local_site_id
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue