mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fix dict_keys object is not subscriptable (Py3+)
This commit is contained in:
parent
cb99b0acf7
commit
74cfde55ec
1 changed files with 3 additions and 2 deletions
|
|
@ -234,13 +234,14 @@ class CollectMayaRender(pyblish.api.ContextPlugin):
|
|||
publish_meta_path = None
|
||||
for aov in exp_files:
|
||||
full_paths = []
|
||||
for file in aov[aov.keys()[0]]:
|
||||
aov_first_key = list(aov.keys())[0]
|
||||
for file in aov[aov_first_key]:
|
||||
full_path = os.path.join(workspace, default_render_file,
|
||||
file)
|
||||
full_path = full_path.replace("\\", "/")
|
||||
full_paths.append(full_path)
|
||||
publish_meta_path = os.path.dirname(full_path)
|
||||
aov_dict[aov.keys()[0]] = full_paths
|
||||
aov_dict[aov_first_key] = full_paths
|
||||
|
||||
frame_start_render = int(self.get_render_attribute(
|
||||
"startFrame", layer=layer_name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue