mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[processing] fixed exporting model to python (replaced 'Processing' reference with 'processing')
This commit is contained in:
parent
ad6d2b401d
commit
3c7a680661
@ -77,7 +77,7 @@ class SaveAsPythonScriptAction(ContextAction):
|
||||
iMultiple = 0
|
||||
for alg in model.algs:
|
||||
multiple = []
|
||||
runline = 'outputs_' + str(i) + '=Processing.runalg("' \
|
||||
runline = 'outputs_' + str(i) + '=processing.runalg("' \
|
||||
+ alg.commandLineName() + '"'
|
||||
for param in alg.parameters:
|
||||
aap = model.algParameters[i][param.name]
|
||||
|
Loading…
x
Reference in New Issue
Block a user