From f2c812599f0087ee8b1b474a19e13e595a01be23 Mon Sep 17 00:00:00 2001 From: Steffen Bollmann Date: Sun, 23 Jun 2024 18:45:08 +0200 Subject: [PATCH] fix chdir --- recipes/defacing/build.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes/defacing/build.py b/recipes/defacing/build.py index 002d66f..c053c0f 100644 --- a/recipes/defacing/build.py +++ b/recipes/defacing/build.py @@ -103,8 +103,6 @@ def validateJson(jsonFilePath, schemaFilePath): output = subprocess.check_output([zipExe, 'a', '-tzip', '-mm=Deflate', baseFilename + '.zip', baseFilename + '.tar', baseFilename + '.pdf'], stderr=subprocess.STDOUT) print('Zip packaging output:\n' + output.decode('utf-8')) - - except subprocess.CalledProcessError as e: # If the command returns a non-zero exit status, it will raise a CalledProcessError print('Command failed with return code:', e.returncode)