Skip to content

Commit

Permalink
[processing] fix script algorithm provider
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Sep 19, 2014
1 parent cc30757 commit 12dc59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/script/ScriptAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def processAlgorithm(self, progress):
ns[out.name] = out.value

script += self.script
exec script in ns
exec(script) in ns
for out in self.outputs:
out.setValue(ns[out.name])

Expand Down

0 comments on commit 12dc59f

Please sign in to comment.