Issue 4235.

svn: r15907
This commit is contained in:
Peter Landgren 2010-09-16 12:38:32 +00:00
parent abaf3060bd
commit 6d286e3920

View File

@ -45,7 +45,7 @@ import libgedcom
import Errors
from ExportOptions import WriterOptionBox
from gen.updatecallback import UpdateCallback
from Utils import media_path_full, get_unicode_path
from Utils import media_path_full
from PlaceUtils import conv_lat_lon
#-------------------------------------------------------------------------
@ -273,7 +273,7 @@ class GedcomWriter(UpdateCallback):
token_level = level
for text in textlist:
# make it unicode so that breakup below does the right thin.
text = get_unicode_path(text)
text = unicode(text)
if limit:
prefix = "\n%d CONC " % (level + 1)
txt = prefix.join(breakup(text, limit))