mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[Processing] Let a script know where what is its description file.
Usefull if it needs to access other files located relative to the script location.
This commit is contained in:
parent
4aafa92ec2
commit
8fc6dd8d42
@ -253,6 +253,7 @@ class ScriptAlgorithm(GeoAlgorithm):
|
|||||||
|
|
||||||
ns = {}
|
ns = {}
|
||||||
ns['progress'] = progress
|
ns['progress'] = progress
|
||||||
|
ns['scriptDescriptionFile'] = self.descriptionFile
|
||||||
|
|
||||||
for param in self.parameters:
|
for param in self.parameters:
|
||||||
ns[param.name] = param.value
|
ns[param.name] = param.value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user