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:
parent
5fb48eec43
commit
641cd14b58
@ -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>
|
2003-06-28 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
* src/plugins/WriteGedcom.py: support different end of line characters
|
* src/plugins/WriteGedcom.py: support different end of line characters
|
||||||
* src/GedcomInfo.py: support different end of line characters
|
* src/GedcomInfo.py: support different end of line characters
|
||||||
|
@ -437,7 +437,6 @@ class GedcomWriter:
|
|||||||
act_tgt = self.target_menu.get_active()
|
act_tgt = self.target_menu.get_active()
|
||||||
|
|
||||||
self.target_ged = act_tgt.get_data("data")
|
self.target_ged = act_tgt.get_data("data")
|
||||||
self.nl = self.target_ged.get_endl()
|
|
||||||
|
|
||||||
self.dest = self.target_ged.get_dest()
|
self.dest = self.target_ged.get_dest()
|
||||||
self.adopt = self.target_ged.get_adopt()
|
self.adopt = self.target_ged.get_adopt()
|
||||||
@ -456,6 +455,7 @@ class GedcomWriter:
|
|||||||
else:
|
else:
|
||||||
self.cnvtxt = keep_utf8
|
self.cnvtxt = keep_utf8
|
||||||
|
|
||||||
|
self.nl = self.cnvtxt(self.target_ged.get_endl())
|
||||||
name = self.topDialog.get_widget("filename").get_text()
|
name = self.topDialog.get_widget("filename").get_text()
|
||||||
|
|
||||||
if cfilter == None:
|
if cfilter == None:
|
||||||
|
Loading…
Reference in New Issue
Block a user