mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
set project bundle name only if is different from studio bundle name
This commit is contained in:
parent
a8baf72a7f
commit
c194fe2dd2
1 changed files with 3 additions and 1 deletions
|
|
@ -47,12 +47,14 @@ def _get_addons_settings(
|
||||||
key: value
|
key: value
|
||||||
for key, value in (
|
for key, value in (
|
||||||
("bundle_name", studio_bundle_name),
|
("bundle_name", studio_bundle_name),
|
||||||
("project_bundle_name ", project_bundle_name),
|
|
||||||
("variant", variant),
|
("variant", variant),
|
||||||
("project_name", project_name),
|
("project_name", project_name),
|
||||||
)
|
)
|
||||||
if value
|
if value
|
||||||
}
|
}
|
||||||
|
if project_bundle_name != studio_bundle_name:
|
||||||
|
query_values["project_bundle_name"] = project_bundle_name
|
||||||
|
|
||||||
site_id = ayon_api.get_site_id()
|
site_id = ayon_api.get_site_id()
|
||||||
if site_id:
|
if site_id:
|
||||||
query_values["site_id"] = site_id
|
query_values["site_id"] = site_id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue