Fix #0001991: supported database versions checked properly.

svn: r10416
This commit is contained in:
Zsolt Foldvari 2008-03-29 19:57:46 +00:00
parent c4f60dc812
commit 1a9306fcd1

View File

@ -488,7 +488,7 @@ class GrampsDBDir(GrampsDbBase, UpdateCallback):
# If we cannot work with this DB version,
# it makes no sense to go further
if not self.version_supported:
if not self.version_supported():
self.__close_early()
self.family_map = self.__open_table(self.full_name, FAMILY_TBL)