forked from openlp/openlp
Skip old-database's during bible loading
This commit is contained in:
parent
c6166453bb
commit
1bdfd60d52
@ -147,6 +147,7 @@ class BibleManager(object):
|
|||||||
self.db_cache = {}
|
self.db_cache = {}
|
||||||
self.old_bible_databases = []
|
self.old_bible_databases = []
|
||||||
for filename in files:
|
for filename in files:
|
||||||
|
if not filename.startswith(u'old_database_'):
|
||||||
bible = BibleDB(self.parent, path=self.path, file=filename)
|
bible = BibleDB(self.parent, path=self.path, file=filename)
|
||||||
name = bible.get_name()
|
name = bible.get_name()
|
||||||
# Remove corrupted files.
|
# Remove corrupted files.
|
||||||
|
Loading…
Reference in New Issue
Block a user