2007-02-02 Alex Roitman <shura@gramps-project.org>

* src/plugins/WriteCD.py: Properly encode URI.



svn: r8028
This commit is contained in:
Alex Roitman 2007-02-02 17:14:12 +00:00
parent 9110ac17d4
commit 30ac50668a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2007-02-02 Alex Roitman <shura@gramps-project.org>
* src/plugins/WriteCD.py: Properly encode URI.
2007-02-02 Don Allingham <don@gramps-project.org> 2007-02-02 Don Allingham <don@gramps-project.org>
* FAQ: update a bit. * FAQ: update a bit.

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2000-2006 Donald N. Allingham # Copyright (C) 2000-2007 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -284,7 +284,9 @@ class PackageWriter:
select_clicked() select_clicked()
# Write XML now # Write XML now
g = create('burn:///%s/data.gramps' % base,OPEN_WRITE ) uri = 'burn:///%s/data.gramps' % base
uri = uri.encode('utf8')
g = create(uri,OPEN_WRITE)
gfile = XmlWriter(self.db,self.callback,2) gfile = XmlWriter(self.db,self.callback,2)
gfile.write_handle(g) gfile.write_handle(g)
g.close() g.close()