Skip to content

Commit

Permalink
fix ProcessingParametersTest test
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jan 7, 2016
1 parent bd9d41c commit 34bc4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def getParameterFromString(s):


def parseBool(s):
if s == unicode(None):
if s is None or s == unicode(None).lower():
return None
return unicode(s).lower() == unicode(True).lower()

Expand Down

0 comments on commit 34bc4ad

Please sign in to comment.