Skip to content

Commit 331d708

Browse files
author
Martin Schorb
committed
fix convertToGray parameter (bool without value)
1 parent 7260446 commit 331d708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderapi/client/client_calls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def renderSectionClient(stack, rootDirectory, zs, scale=None,
489489
get_param(maxIntensity, '--maxIntensity') +
490490
get_param(fillWithNoise, '--fillWithNoise') +
491491
get_param(customOutputFolder, '--customOutputFolder') +
492-
get_param(convertToGray, '--convertToGray') +
492+
(['--convertToGray'] if convertToGray else []) +
493493
get_param(channel, '--channels') +
494494
get_param(customSubFolder, '--customSubFolder') +
495495
get_param(padFileNamesWithZeros, '--padFileNamesWithZeros') +

0 commit comments

Comments
 (0)