summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 26be700)
raw | patch | inline | side by side (parent: 26be700)
author | aurium <aurium@users.sourceforge.net> | |
Wed, 9 Sep 2009 17:43:37 +0000 (17:43 +0000) | ||
committer | aurium <aurium@users.sourceforge.net> | |
Wed, 9 Sep 2009 17:43:37 +0000 (17:43 +0000) |
share/extensions/inkex.py | patch | blob | history |
index 665575c6b67b0047a98d2f7af66ba42409b7821f..b7e3e0e63f5bdb34f378d1c58a6e05735cba7424 100755 (executable)
try:
stream = open(file,'r')
except:
- stream = open(self.args[-1],'r')
+ stream = open(self.svg_file,'r')
except:
stream = sys.stdin
self.document = etree.parse(stream)
def affect(self, args=sys.argv[1:], output=True):
"""Affect an SVG document with a callback effect"""
+ self.svg_file = args[-1]
self.getoptions(args)
self.parse()
self.getposinlayer()