Skip to content

Commit 12dc59f

Browse files
committedSep 19, 2014
[processing] fix script algorithm provider
1 parent cc30757 commit 12dc59f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/script/ScriptAlgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def processAlgorithm(self, progress):
263263
ns[out.name] = out.value
264264

265265
script += self.script
266-
exec script in ns
266+
exec(script) in ns
267267
for out in self.outputs:
268268
out.setValue(ns[out.name])
269269

0 commit comments

Comments
 (0)
Please sign in to comment.