Skip to content
Permalink
Browse files

[processing] fixed check for empty param for strings

  • Loading branch information
volaya committed Oct 17, 2016
1 parent 904b62b commit 61a10df45283a47782bf49ac62f9c5e5f9b27b21
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/core/parameters.py
@@ -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

gacarrillor Oct 18, 2016

Member

@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
if not self.optional:
return False
self.value = None

0 comments on commit 61a10df

Please sign in to comment.
You can’t perform that action at this time.