See comments Diff comments:
> === modified file 'openlp/plugins/bibles/bibleplugin.py' > --- openlp/plugins/bibles/bibleplugin.py 2016-08-08 18:11:32 +0000 > +++ openlp/plugins/bibles/bibleplugin.py 2016-08-21 07:47:26 +0000 > @@ -140,10 +140,10 @@ > > def uses_theme(self, theme): > """ > - Called to find out if the bible plugin is currently using a theme. > Returns ``1`` if the theme is being used, > - otherwise returns ``0``. > + Called to find out if the bible plugin is currently using a theme. > > :param theme: The theme > + :return: 1 if the theme is being used, otherwise returns 0 True and False does not work when you need a count. We need the number of times used for custom and songs but bibles is only one. > """ > if str(self.settings_tab.bible_theme) == theme: > return 1 -- https://code.launchpad.net/~phill-ridout/openlp/yet-more-refactors/+merge/303490 Your team OpenLP Core is subscribed to branch lp:openlp. _______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : [email protected] Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp

