mor PEP fixes

This commit is contained in:
Philip Ridout 2017-05-06 11:51:54 +01:00
parent 4e88913aa0
commit b0c5b4177b

View File

@ -431,11 +431,11 @@ class BibleDB(Manager):
def is_web_bible(self): def is_web_bible(self):
""" """
A read only property indicating if the bible is a 'web bible' A read only property indicating if the bible is a 'web bible'
:return: If the bible is a web bible. :return: If the bible is a web bible.
:rtype: bool :rtype: bool
""" """
if self._is_web_bible == None: if self._is_web_bible is None:
self._is_web_bible = bool(self.get_object(BibleMeta, 'download_source')) self._is_web_bible = bool(self.get_object(BibleMeta, 'download_source'))
return self._is_web_bible return self._is_web_bible