Skip to content
Permalink
Browse files

[Processing] None is the default value for parameters also for string

  • Loading branch information
rldhont committed Apr 13, 2018
1 parent 4f05da4 commit ac4d776af018a34b8f9e3d67647b5dbcf7c90bf3
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/core/parameters.py
@@ -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)

0 comments on commit ac4d776

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