Skip to content

Commit

Permalink
[processing] Fix API break which breaks some 3rd party providers (e.g…
Browse files Browse the repository at this point in the history
…. R and Javascript providers)
  • Loading branch information
nyalldawson committed Jul 8, 2019
1 parent 74897d7 commit 3a14ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/core/parameters.py
Expand Up @@ -87,7 +87,7 @@
PARAMETER_RASTER_DESTINATION = 'rasterDestination'


def getParameterFromString(s, context):
def getParameterFromString(s, context=''):
# Try the parameter definitions used in description files
if '|' in s and (s.startswith("QgsProcessingParameter") or s.startswith("*QgsProcessingParameter") or s.startswith('Parameter') or s.startswith('*Parameter')):
isAdvanced = False
Expand Down

0 comments on commit 3a14ade

Please sign in to comment.