mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
minor fixes
This commit is contained in:
parent
11cf4056a7
commit
3f628d1267
1 changed files with 4 additions and 4 deletions
|
|
@ -28,7 +28,7 @@ class ExtractScanlineExr(pyblish.api.InstancePlugin):
|
|||
"Processing representation {}".format(repre.get("name")))
|
||||
tags = repre.get("tags", [])
|
||||
if "toScanline" not in tags:
|
||||
self.log.info("- missing toScanline tag")
|
||||
self.log.info(" - missing toScanline tag")
|
||||
continue
|
||||
|
||||
# run only on exrs
|
||||
|
|
@ -38,10 +38,10 @@ class ExtractScanlineExr(pyblish.api.InstancePlugin):
|
|||
|
||||
if not isinstance(repre['files'], (list, tuple)):
|
||||
input_files = [repre['files']]
|
||||
self.log.info("We have a sequence.")
|
||||
self.log.info("We have a single frame")
|
||||
else:
|
||||
input_files = repre['files']
|
||||
self.log.info("We have a single frame")
|
||||
self.log.info("We have a sequence")
|
||||
|
||||
stagingdir = os.path.normpath(repre.get("stagingDir"))
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ class ExtractScanlineExr(pyblish.api.InstancePlugin):
|
|||
raise AssertionError("OIIO tool conversion failed")
|
||||
else:
|
||||
try:
|
||||
shutil.remove(temp_name)
|
||||
os.remove(temp_name)
|
||||
except OSError as e:
|
||||
self.log.warning("Unable to delete temp file")
|
||||
self.log.warning(e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue