4770: Unexpected error exporting a database to Gramps Xml format
svn: r16897
This commit is contained in:
parent
2cb881a805
commit
e14214c51d
@ -162,8 +162,8 @@ class GrampsXmlWriter(UpdateCallback):
|
|||||||
g = open(filename,"w")
|
g = open(filename,"w")
|
||||||
except IOError,msg:
|
except IOError,msg:
|
||||||
LOG.warn(str(msg))
|
LOG.warn(str(msg))
|
||||||
raise DbWriteFailure((_('Failure writing %s') % filename,
|
raise DbWriteFailure(_('Failure writing %s') % filename,
|
||||||
str(msg)))
|
str(msg))
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
self.g = codecs.getwriter("utf8")(g)
|
self.g = codecs.getwriter("utf8")(g)
|
||||||
|
Loading…
Reference in New Issue
Block a user