From 6e8c574509a354ad2ffd2b650b01025ea62c8363 Mon Sep 17 00:00:00 2001 From: Jakub Jezek Date: Tue, 30 Mar 2021 15:45:54 +0200 Subject: [PATCH] Hiero: fix `pype.api.subprocess` is obsolete api call --- .../hiero/plugins/publish/extract_review_preparation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pype/hosts/hiero/plugins/publish/extract_review_preparation.py b/pype/hosts/hiero/plugins/publish/extract_review_preparation.py index bc4a895ba4..3fdc946f3c 100644 --- a/pype/hosts/hiero/plugins/publish/extract_review_preparation.py +++ b/pype/hosts/hiero/plugins/publish/extract_review_preparation.py @@ -132,7 +132,7 @@ class ExtractReviewPreparation(pype.api.Extractor): ).format(**locals()) self.log.debug("ffprob_cmd: {}".format(ffprob_cmd)) - audio_check_output = pype.api.subprocess(ffprob_cmd) + audio_check_output = pype.api.run_subprocess(ffprob_cmd) self.log.debug( "audio_check_output: {}".format(audio_check_output)) @@ -167,7 +167,7 @@ class ExtractReviewPreparation(pype.api.Extractor): # try to get video native resolution data try: - resolution_output = pype.api.subprocess(( + resolution_output = pype.api.run_subprocess(( "\"{ffprobe_path}\" -i \"{full_input_path}\"" " -v error " "-select_streams v:0 -show_entries " @@ -280,7 +280,7 @@ class ExtractReviewPreparation(pype.api.Extractor): # run subprocess self.log.debug("Executing: {}".format(subprcs_cmd)) - output = pype.api.subprocess(subprcs_cmd) + output = pype.api.run_subprocess(subprcs_cmd) self.log.debug("Output: {}".format(output)) repre_new = {