Code

Super duper mega (fun!) commit: replaced encoding=utf-8 with fileencoding=utf-8 in...
[inkscape.git] / share / extensions / flatten.py
index 2e1a491cd3368c87c6c4503a2401d075782cd286..ce691508639e576d263769df370513f33f118d60 100755 (executable)
@@ -42,5 +42,9 @@ class MyEffect(inkex.Effect):
                         np.append([cmd,[csp[1][0],csp[1][1]]])
                         node.set('d',simplepath.formatPath(np))
 
-e = MyEffect()
-e.affect()
\ No newline at end of file
+if __name__ == '__main__':
+    e = MyEffect()
+    e.affect()
+
+
+# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99