Fix for InMemory db close error
This commit is contained in:
parent
8760bb9f6f
commit
1d51fa4f61
@ -679,7 +679,7 @@ class DbGeneric(DbWriteBase, DbReadBase, UpdateCallback, Callback):
|
||||
Close the database.
|
||||
if update is False, don't change access times, etc.
|
||||
"""
|
||||
if self._directory:
|
||||
if self._directory != ":memory:":
|
||||
if update:
|
||||
# This is just a dummy file to indicate last modified time of
|
||||
# the database for gramps.cli.clidbman:
|
||||
|
Loading…
Reference in New Issue
Block a user