Merge branch 'feature/OP-7190_Use-folder-path-as-identifier-in-editorial' into enhancement/OP-7234_Use-folder-path-as-identifier-in-traypublisher-editorial

This commit is contained in:
Jakub Jezek 2023-11-15 11:40:50 +01:00
commit a9ea198e79
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -816,8 +816,13 @@ class CreateWidget(QtWidgets.QWidget):
# Where to define these data?
# - what data show be stored?
if AYON_SERVER_ENABLED:
asset_key = "folderPath"
else:
asset_key = "asset"
instance_data = {
"asset": asset_name,
asset_key: asset_name,
"task": task_name,
"variant": variant,
"family": family