From ffaf44bd7d617cc6e7daf06a2049b873ceb00835 Mon Sep 17 00:00:00 2001 From: Haarm-Pieter Duiker Date: Wed, 19 Aug 2015 14:44:37 -0700 Subject: [PATCH] Minor updates and bug fixes. --- aces_1.0.0/python/aces_ocio/generate_lut.py | 4 ++++ aces_1.0.0/python/aces_ocio/process.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/aces_1.0.0/python/aces_ocio/generate_lut.py b/aces_1.0.0/python/aces_ocio/generate_lut.py index 962881e..ac42d58 100755 --- a/aces_1.0.0/python/aces_ocio/generate_lut.py +++ b/aces_1.0.0/python/aces_ocio/generate_lut.py @@ -494,6 +494,10 @@ def apply_CTL_to_image(input_image, if len(ctl_paths) > 0: ctlenv = os.environ + + if "/usr/local/bin" not in ctlenv['PATH'].split(':'): + ctlenv['PATH'] = "%s:/usr/local/bin" % ctlenv['PATH'] + if aces_ctl_directory is not None: if os.path.split(aces_ctl_directory)[1] != 'utilities': ctl_module_path = os.path.join(aces_ctl_directory, 'utilities') diff --git a/aces_1.0.0/python/aces_ocio/process.py b/aces_1.0.0/python/aces_ocio/process.py index 76dd754..5758b5e 100755 --- a/aces_1.0.0/python/aces_ocio/process.py +++ b/aces_1.0.0/python/aces_ocio/process.py @@ -331,7 +331,7 @@ class Process: log_handle.write(header) if format == 'xml': log_handle.write(']]>\n') - self.write_log(log_handle) + self.write_log(log_handle, format=format) log_handle.close() def log_line(self, line): -- 1.7.10.4