Skip to content

Commit 61a10df

Browse files
committedOct 17, 2016
[processing] fixed check for empty param for strings
1 parent 904b62b commit 61a10df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/core/parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ def __init__(self, name='', description='', default=None, multiline=False,
747747
self.evaluateExpressions = parseBool(evaluateExpressions)
748748

749749
def setValue(self, obj):
750-
if obj is None:
750+
if not bool(obj):
Code has comments. Press enter to view.
751751
if not self.optional:
752752
return False
753753
self.value = None

0 commit comments

Comments
 (0)
Please sign in to comment.