Update
svn: r4084
This commit is contained in:
parent
16388d3e6d
commit
827ba0d85b
@ -365,7 +365,10 @@ class NewNativeDbPrompter:
|
|||||||
if os.path.splitext(filename)[1] != ".grdb":
|
if os.path.splitext(filename)[1] != ".grdb":
|
||||||
filename = filename + ".grdb"
|
filename = filename + ".grdb"
|
||||||
choose.destroy()
|
choose.destroy()
|
||||||
self.parent.db.close()
|
try:
|
||||||
|
self.parent.db.close()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
self.parent.db = GrampsBSDDB.GrampsBSDDB()
|
self.parent.db = GrampsBSDDB.GrampsBSDDB()
|
||||||
self.parent.read_file(filename)
|
self.parent.read_file(filename)
|
||||||
# Add the file to the recent items
|
# Add the file to the recent items
|
||||||
|
Loading…
Reference in New Issue
Block a user