2003-06-28 Tim Waugh <twaugh@redhat.com>

* src/plugins/WriteGedcom.py: Convert line end string to chosen
        encoding (prevents traceback).


svn: r1800
This commit is contained in:
Tim Waugh 2003-06-28 21:21:13 +00:00
parent 5fb48eec43
commit 641cd14b58
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-06-28 Tim Waugh <twaugh@redhat.com>
* src/plugins/WriteGedcom.py: Convert line end string to chosen
encoding (prevents traceback).
2003-06-28 Don Allingham <dallingham@users.sourceforge.net>
* src/plugins/WriteGedcom.py: support different end of line characters
* src/GedcomInfo.py: support different end of line characters

View File

@ -437,7 +437,6 @@ class GedcomWriter:
act_tgt = self.target_menu.get_active()
self.target_ged = act_tgt.get_data("data")
self.nl = self.target_ged.get_endl()
self.dest = self.target_ged.get_dest()
self.adopt = self.target_ged.get_adopt()
@ -456,6 +455,7 @@ class GedcomWriter:
else:
self.cnvtxt = keep_utf8
self.nl = self.cnvtxt(self.target_ged.get_endl())
name = self.topDialog.get_widget("filename").get_text()
if cfilter == None: