Skip to content

Commit ffaf44b

Browse files
committed
Minor updates and bug fixes.
1 parent 210c11e commit ffaf44b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

aces_1.0.0/python/aces_ocio/generate_lut.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,10 @@ def apply_CTL_to_image(input_image,
494494

495495
if len(ctl_paths) > 0:
496496
ctlenv = os.environ
497+
498+
if "/usr/local/bin" not in ctlenv['PATH'].split(':'):
499+
ctlenv['PATH'] = "%s:/usr/local/bin" % ctlenv['PATH']
500+
497501
if aces_ctl_directory is not None:
498502
if os.path.split(aces_ctl_directory)[1] != 'utilities':
499503
ctl_module_path = os.path.join(aces_ctl_directory, 'utilities')

aces_1.0.0/python/aces_ocio/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def write_log_to_disk(self, log_filename=None, format='xml', header=None):
331331
log_handle.write(header)
332332
if format == 'xml':
333333
log_handle.write(']]>\n')
334-
self.write_log(log_handle)
334+
self.write_log(log_handle, format=format)
335335
log_handle.close()
336336

337337
def log_line(self, line):

0 commit comments

Comments
 (0)