From 667aea41283825a31db5087f0b89b3d0400bbf63 Mon Sep 17 00:00:00 2001 From: Toke Stuart Jepsen Date: Wed, 27 May 2020 13:03:02 +0100 Subject: [PATCH] Fix extractor. --- pype/plugins/harmony/publish/extract_render.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pype/plugins/harmony/publish/extract_render.py b/pype/plugins/harmony/publish/extract_render.py index eb0850dc58..de6e8b9008 100644 --- a/pype/plugins/harmony/publish/extract_render.py +++ b/pype/plugins/harmony/publish/extract_render.py @@ -60,10 +60,8 @@ class ExtractRender(pyblish.api.InstancePlugin): harmony.save_scene() # Execute rendering. - import subprocess - subprocess.call([application_path, "-batch", scene_path]) - #output = pype.lib._subprocess([application_path, "-batch", scene_path]) - #self.log.info(output) + output = pype.lib._subprocess([application_path, "-batch", scene_path]) + self.log.info(output) # Collect rendered files. files = os.listdir(path)