Prevent error message appearing on operator screen when searching for Bible text via the remote

bzr-revno: 1620
This commit is contained in:
Jonathan Corwin 2011-06-09 08:23:03 +01:00
commit 449fe885f4

View File

@ -983,7 +983,7 @@ class BibleMediaItem(MediaManagerItem):
Search for some Bible verses (by reference).
"""
bible = unicode(self.quickVersionComboBox.currentText())
search_results = self.plugin.manager.get_verses(bible, string, False)
search_results = self.plugin.manager.get_verses(bible, string, False, False)
results = []
if search_results:
versetext = u' '.join([verse.text for verse in search_results])