Code

Translations. French translation minor update.
[inkscape.git] / share / extensions / triangle.py
index 4becf7b88f09125277cd1f23b439fc723c1773a9..81945f370e409ab6c411c142b407c807bb968ef5 100644 (file)
@@ -189,8 +189,9 @@ class Grid_Polar(inkex.Effect):
             
             draw_tri_from_3_sides(s_a, s_b, s_c, offset, tri)
 
-e = Grid_Polar()
-e.affect()
+if __name__ == '__main__':
+    e = Grid_Polar()
+    e.affect()
 
 
-# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99
+# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 fileencoding=utf-8 textwidth=99