forked from openlp/openlp
remove fallback
This commit is contained in:
parent
a6dfbdcf71
commit
4f94b2acd2
@ -164,9 +164,6 @@ class BibleDB(QtCore.QObject, Manager, RegistryProperties):
|
|||||||
Returns the version name of the Bible.
|
Returns the version name of the Bible.
|
||||||
"""
|
"""
|
||||||
version_name = self.get_object(BibleMeta, 'name')
|
version_name = self.get_object(BibleMeta, 'name')
|
||||||
# Fallback to old way of naming
|
|
||||||
if not version_name:
|
|
||||||
version_name = self.get_object(BibleMeta, 'Version')
|
|
||||||
self.name = version_name.value if version_name else None
|
self.name = version_name.value if version_name else None
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user