From 030d940209adaf51717d48159c683c512a242f8e Mon Sep 17 00:00:00 2001 From: JazzyNico Date: Wed, 1 Sep 2010 18:43:54 +0200 Subject: [PATCH] Extension. Fix for bug #627372 :inkscape plugin not working (sys.argv[12] wrong). --- share/extensions/scour.inkscape.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2