Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4059 from moonyuet/bugfix/OP2566-remove-underscor…
Browse files Browse the repository at this point in the history
…e-from-subset-name
  • Loading branch information
mkolar authored Nov 7, 2022
2 parents 3a6a6c3 + 8935e22 commit 37eb905
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions openpype/modules/deadline/plugins/publish/submit_publish_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,15 @@ def _create_instances_for_aov(self, instance_data, exp_files):

cam = [c for c in cameras if c in col.head]
if cam:
subset_name = '{}_{}_{}'.format(group_name, cam, aov)
if aov:
subset_name = '{}_{}_{}'.format(group_name, cam, aov)
else:
subset_name = '{}_{}'.format(group_name, cam)
else:
subset_name = '{}_{}'.format(group_name, aov)
if aov:
subset_name = '{}_{}'.format(group_name, aov)
else:
subset_name = '{}'.format(group_name)

if isinstance(col, (list, tuple)):
staging = os.path.dirname(col[0])
Expand Down

0 comments on commit 37eb905

Please sign in to comment.