Skip to content

Commit 34bc4ad

Browse files
committed
fix ProcessingParametersTest test
1 parent bd9d41c commit 34bc4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/core/parameters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def getParameterFromString(s):
4545

4646

4747
def parseBool(s):
48-
if s == unicode(None):
48+
if s is None or s == unicode(None).lower():
4949
return None
5050
return unicode(s).lower() == unicode(True).lower()
5151

0 commit comments

Comments
 (0)