From b0c5b4177b65d17e07a757c926bee5ca6c1ab7ac Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Sat, 6 May 2017 11:51:54 +0100 Subject: [PATCH] mor PEP fixes --- openlp/plugins/bibles/lib/db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/bibles/lib/db.py b/openlp/plugins/bibles/lib/db.py index acfb85a26..9afdd2efc 100644 --- a/openlp/plugins/bibles/lib/db.py +++ b/openlp/plugins/bibles/lib/db.py @@ -431,11 +431,11 @@ class BibleDB(Manager): def is_web_bible(self): """ A read only property indicating if the bible is a 'web bible' - + :return: If the bible is a web bible. :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')) return self._is_web_bible