Code

fix missing quote reported on irc
authoracspike <acspike@users.sourceforge.net>
Sun, 23 Sep 2007 01:46:12 +0000 (01:46 +0000)
committeracspike <acspike@users.sourceforge.net>
Sun, 23 Sep 2007 01:46:12 +0000 (01:46 +0000)
share/extensions/summersnight.py

index 1e283e10d184ac8a2b6de0b6ab8d883038da3109..9ebaaa2e25d3f7bb09ff5ac4bd7a40ebd2ea0b4e 100755 (executable)
@@ -31,7 +31,7 @@ class Project(inkex.Effect):
         #obj is selected second
         obj = self.selected[self.options.ids[0]]
         trafo = self.selected[self.options.ids[1]]
-        if obj.tag == inkex.addNS('path','svg) and trafo.tag == inkex.addNS('path','svg'):
+        if obj.tag == inkex.addNS('path','svg') and trafo.tag == inkex.addNS('path','svg'):
             #distil trafo into four node points
             trafo = cubicsuperpath.parsePath(trafo.get('d'))
             trafo = [[Point(csp[1][0],csp[1][1]) for csp in subs] for subs in trafo][0][:4]