removed .closed check - does not apply to gzip interface
svn: r640
This commit is contained in:
parent
26354c3b67
commit
f8bc668576
@ -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