Commits

Manfred Moitzi  committed bec5a75

BUGFIX in examples (unicode_literals)

  • Participants
  • Parent commits dddb4ce

Comments (0)

Files changed (1)

File examples/simple_text.py

 # Created: 08.09.2010
 # Copyright (C) 2010, Manfred Moitzi
 # License: GPLv3
+from __future__ import unicode_literals
 
 try:
     import svgwrite
 except ImportError:
-    # if svgwrite is not 'installed' append parent dir of __file__ to sys.path
    import sys, os
+    # if svgwrite is not 'installed' append parent dir of __file__ to sys.path
+    import sys, os
     sys.path.insert(0, os.path.abspath(os.path.split(os.path.abspath(__file__))[0]+'/..'))
 
 import svgwrite
     dwg.save()
 
 if __name__ == '__main__':
-    simple_text("simple_text.svg")
+    simple_text("simple_text.svg")