Skip old-database's during bible loading

This commit is contained in:
Stevan Pettit 2011-06-09 11:26:13 -04:00
parent c6166453bb
commit 1bdfd60d52

View File

@ -147,6 +147,7 @@ class BibleManager(object):
self.db_cache = {}
self.old_bible_databases = []
for filename in files:
if not filename.startswith(u'old_database_'):
bible = BibleDB(self.parent, path=self.path, file=filename)
name = bible.get_name()
# Remove corrupted files.