summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshare/extensions/scour.inkscape.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/scour.inkscape.py b/share/extensions/scour.inkscape.py
index f21e223a0..69c2dda5d 100755
--- a/share/extensions/scour.inkscape.py
+++ b/share/extensions/scour.inkscape.py
@@ -43,7 +43,7 @@ class ScourInkscape (inkex.Effect):
def effect(self):
- input = file(sys.argv[12], "r")
+ input = file(self.args[0], "r")
sys.stdout.write(scourString(input.read(), self.options).encode("UTF-8"))
input.close()
sys.stdout.close()