[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:
radosuav 2015-01-22 14:33:17 +01:00
parent 4aafa92ec2
commit 8fc6dd8d42

View File

@ -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