summaryrefslogtreecommitdiffstats
path: root/share/extensions/guides_creator.py
diff options
context:
space:
mode:
authorAur??lio A. Heckert <aurium@gmail.com>2009-04-13 20:05:53 +0000
committeraurium <aurium@users.sourceforge.net>2009-04-13 20:05:53 +0000
commitf51b21e8bef6c68fec583454522e3487987f7635 (patch)
tree9da73b3363115a872754b37a25e791ea5b647c25 /share/extensions/guides_creator.py
parentallow svg_and_media_zip_output works with less informative svg files (diff)
downloadinkscape-f51b21e8bef6c68fec583454522e3487987f7635.tar.gz
inkscape-f51b21e8bef6c68fec583454522e3487987f7635.zip
more basic test files and basic effect corrections
(bzr r7706)
Diffstat (limited to 'share/extensions/guides_creator.py')
-rwxr-xr-xshare/extensions/guides_creator.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/share/extensions/guides_creator.py b/share/extensions/guides_creator.py
index 45fae9352..96f2557ee 100755
--- a/share/extensions/guides_creator.py
+++ b/share/extensions/guides_creator.py
@@ -223,9 +223,11 @@ class Guides_Creator(inkex.Effect):
drawVerticalGuides(v_division,width,height,from_edges,nv)
drawHorizontalGuides(h_division,width,height,from_edges,nv)
-
-# Create effect instance and apply it.
-effect = Guides_Creator()
-effect.affect()
+
+
+if __name__ == '__main__': #pragma: no cover
+ # Create effect instance and apply it.
+ effect = Guides_Creator()
+ effect.affect()
## end of file guide_creator.py ##