3640: Truncated FILE media path on Gedcom export; extended line for file to 255 characters

svn: r15366
This commit is contained in:
Doug Blank 2010-05-09 12:57:05 +00:00
parent 887f8ba9bd
commit 14f3d33da4

View File

@ -327,6 +327,8 @@ class GedcomWriter(UpdateCallback):
""" """
assert(token) assert(token)
if textlines: if textlines:
if token == "FILE":
limit = 255
# break the line into multiple lines if a newline is found # break the line into multiple lines if a newline is found
textlist = textlines.split('\n') textlist = textlines.split('\n')
token_level = level token_level = level