From cae818ee8fcb62b647f47e5ea8e512934c328926 Mon Sep 17 00:00:00 2001 From: Kamil Bugajski Date: Thu, 16 Aug 2012 19:41:16 +0200 Subject: [PATCH] =?UTF-8?q?smart=5Funicode=20f=C3=BCr=20fonterkenung=20hin?= =?UTF-8?q?zugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/piccreate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/piccreate.py b/libs/piccreate.py index bce9e06..95552c0 100644 --- a/libs/piccreate.py +++ b/libs/piccreate.py @@ -10,7 +10,7 @@ import optparse import os import ConfigParser from utils import CSVImport, CompleteEnding, get_translation -from django.utils.encoding import smart_str +from django.utils.encoding import smart_str, smart_unicode from string import Template class PicError(Exception): @@ -133,7 +133,6 @@ class Font: content = dict(fontconfig.items(letter)) # lade das svg template dazu ein glyph_path = os.path.join( font_path, smart_unicode(content['fontname'])) - print content['fontname'] f = open(glyph_path, 'r') svgstr = f.read() f.close()