diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 0bc2e63c5..0797a7a3e 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -781,7 +781,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): QtGui.QMessageBox.Save), QtGui.QMessageBox.Save) if ret == QtGui.QMessageBox.Save: - self.ServiceManagerContents.onSaveService(TRUE) + self.ServiceManagerContents.onSaveService(True) self.cleanUp() event.accept() elif ret == QtGui.QMessageBox.Discard: diff --git a/openlp/plugins/bibles/lib/http.py b/openlp/plugins/bibles/lib/http.py index 18cdb7223..e6a474f5c 100644 --- a/openlp/plugins/bibles/lib/http.py +++ b/openlp/plugins/bibles/lib/http.py @@ -36,7 +36,7 @@ from BeautifulSoup import BeautifulSoup, NavigableString from openlp.core.lib import Receiver from openlp.core.utils import AppLocation -from openlp.plugins.bibles.lib import SearchResults +from openlp.plugins.bibles.lib import SearchResults from openlp.plugins.bibles.lib.db import BibleDB, Book log = logging.getLogger(__name__) diff --git a/openlp/plugins/bibles/lib/manager.py b/openlp/plugins/bibles/lib/manager.py index d5aa4d72b..9afc4a4b2 100644 --- a/openlp/plugins/bibles/lib/manager.py +++ b/openlp/plugins/bibles/lib/manager.py @@ -316,5 +316,5 @@ class BibleManager(object): Loop through the databases to VACUUM them. """ for bible in self.db_cache: - self.db_cache[bible].finalise + self.db_cache[bible].finalise()