removed .closed check - does not apply to gzip interface

svn: r640
This commit is contained in:
Don Allingham 2001-12-19 21:44:11 +00:00
parent 6a1fc53c15
commit 278314e01c

View File

@ -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