mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -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['progress'] = progress
|
||||
ns['scriptDescriptionFile'] = self.descriptionFile
|
||||
|
||||
for param in self.parameters:
|
||||
ns[param.name] = param.value
|
||||
|
Loading…
x
Reference in New Issue
Block a user