Skip to content
Browse files
[processing] fixed check for empty param for strings
  • Loading branch information
volaya committed Oct 17, 2016
1 parent 904b62b commit 61a10df45283a47782bf49ac62f9c5e5f9b27b21
Showing 1 changed file with 1 addition and 1 deletion.
@@ -747,7 +747,7 @@ def __init__(self, name='', description='', default=None, multiline=False,
self.evaluateExpressions = parseBool(evaluateExpressions)

def setValue(self, obj):
if obj is None:
if not bool(obj):

This comment has been minimized.

Copy link

gacarrillor Oct 18, 2016


@volaya, I think this has affected OGR algs. Try for instance "Convert format". If you don't enter optional parameters, you'll get None into the OGR command, making it impossible to run. Could you please confirm and if so, fix it (revert)?

This comment has been minimized.

Copy link

strk Oct 18, 2016

if not self.optional:
return False
self.value = None

0 comments on commit 61a10df

Please sign in to comment.