remove fallback

This commit is contained in:
Phill Ridout 2015-02-18 21:20:35 +00:00
parent a6dfbdcf71
commit 4f94b2acd2

View File

@ -164,9 +164,6 @@ class BibleDB(QtCore.QObject, Manager, RegistryProperties):
Returns the version name of the Bible.
"""
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
return self.name