svn: r4084
This commit is contained in:
Alex Roitman 2005-02-23 13:30:47 +00:00
parent 16388d3e6d
commit 827ba0d85b

View File

@ -365,7 +365,10 @@ class NewNativeDbPrompter:
if os.path.splitext(filename)[1] != ".grdb":
filename = filename + ".grdb"
choose.destroy()
self.parent.db.close()
try:
self.parent.db.close()
except:
pass
self.parent.db = GrampsBSDDB.GrampsBSDDB()
self.parent.read_file(filename)
# Add the file to the recent items