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

Commit

Permalink
fix missing path variable
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Jun 24, 2022
1 parent 87a7184 commit 4c6677e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpype/hosts/nuke/plugins/publish/precollect_writes.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def process(self, instance):
os.path.basename(filepath)
for filepath in expected_paths
]

output_dir = os.path.dirname(expected_paths[0])
path = nuke.filename(node)
output_dir = os.path.dirname(path)

self.log.debug('output dir: {}'.format(output_dir))

Expand Down

0 comments on commit 4c6677e

Please sign in to comment.