Skip to content

Commit

Permalink
Enforce cast to str
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSouchet committed Feb 21, 2024
1 parent 040b74c commit 3193209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quad_pyblish_module/plugins/tvpaint/publish/extract_psd.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def process(self, instance):
# Create temp folder if staging dir is not set
output_dir = Path(tempfile.mkdtemp(
prefix=self.staging_dir_prefix).replace("\\", "/"))
instance.data['stagingDir'] = output_dir.resolve()
instance.data['stagingDir'] = str(output_dir.resolve())

new_psd_repres = []
for repre in repres:
Expand Down Expand Up @@ -88,7 +88,7 @@ def process(self, instance):
"name": "psd",
"ext": "psd",
"files": new_filenames,
"stagingDir": output_dir.resolve(),
"stagingDir": str(output_dir.resolve()),
"tags": "psd"
}
)
Expand Down

0 comments on commit 3193209

Please sign in to comment.