removed .closed check - does not apply to gzip interface
svn: r640
This commit is contained in:
parent
6a1fc53c15
commit
278314e01c
@ -487,9 +487,6 @@ def exportData(database, filename, callback):
|
|||||||
GnomeErrorDialog(_("Failure writing %s, original file restored") % filename)
|
GnomeErrorDialog(_("Failure writing %s, original file restored") % filename)
|
||||||
shutil.copy(filename + ".bak", filename)
|
shutil.copy(filename + ".bak", filename)
|
||||||
|
|
||||||
if not g.closed:
|
|
||||||
g.close()
|
|
||||||
|
|
||||||
def write_xml_data(database, g, callback, sp):
|
def write_xml_data(database, g, callback, sp):
|
||||||
|
|
||||||
global strip_photo
|
global strip_photo
|
||||||
|
Loading…
Reference in New Issue
Block a user