Skip to content

Commit

Permalink
[Processing] None is the default value for parameters also for string
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Apr 13, 2018
1 parent 4f05da4 commit ac4d776
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 @@ -740,7 +740,7 @@ class ParameterString(Parameter):
NEWLINE = '\n'
ESCAPED_NEWLINE = '\\n'

def __init__(self, name='', description='', default='', multiline=False,
def __init__(self, name='', description='', default=None, multiline=False,
optional=False, evaluateExpressions=False):
Parameter.__init__(self, name, description, default, optional)
self.multiline = parseBool(multiline)
Expand Down

0 comments on commit ac4d776

Please sign in to comment.