mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-17 00:09:36 -04:00
[processing] minor fix in parameter parsing in scripts
This commit is contained in:
parent
227af8ac8e
commit
9f3bd1d46d
@ -204,7 +204,7 @@ class ScriptAlgorithm(GeoAlgorithm):
|
||||
options = token.strip()[len('selectionfromfile '):].split(';')
|
||||
param = ParameterSelection(name, descName, options, isSource=True)
|
||||
elif token.lower().strip().startswith('selection'):
|
||||
options = tokens[1].strip()[len('selection '):].split(';')
|
||||
options = token.strip()[len('selection '):].split(';')
|
||||
param = ParameterSelection(name, descName, options)
|
||||
elif token.lower().strip().startswith('boolean'):
|
||||
default = token.strip()[len('boolean') + 1:]
|
||||
|
Loading…
x
Reference in New Issue
Block a user