Code

add support for wmf-output using the uniconvertor (as used for the wmf-input
[inkscape.git] / share / extensions / funcplot.py
index 08631a0beaf2e1e6542e3f073d4daf43500bdca3..e5f93d4309eab1cd91f7b39fc60d83930853f69d 100644 (file)
@@ -269,8 +269,9 @@ class FuncPlot(inkex.Effect):
                 if self.options.remove:
                     node.getparent().remove(node)
                 
-e = FuncPlot()
-e.affect()
+if __name__ == '__main__':
+    e = FuncPlot()
+    e.affect()
 
 
 # vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99