mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
♻️ make code simpler
This commit is contained in:
parent
9975b87a9b
commit
7f508d7837
1 changed files with 1 additions and 3 deletions
|
|
@ -22,11 +22,9 @@ class ExtractBGEO(publish.Extractor):
|
|||
|
||||
# Get the filename from the filename parameter
|
||||
output = ropnode.evalParm("sopoutput")
|
||||
staging_dir = os.path.dirname(output)
|
||||
staging_dir, file_name = os.path.split(output)
|
||||
instance.data["stagingDir"] = staging_dir
|
||||
|
||||
file_name = os.path.basename(output)
|
||||
|
||||
# We run the render
|
||||
self.log.info("Writing bgeo files '{}' to '{}'.".format(
|
||||
file_name, staging_dir))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue