forked from openlp/openlp
fix typos
This commit is contained in:
parent
15adb41256
commit
8bfb0e4759
@ -350,7 +350,7 @@ class CustomMediaItem(MediaManagerItem):
|
||||
:param string: The search string
|
||||
:param show_error: The error string to be show.
|
||||
"""
|
||||
search = '%{search}%'.forma(search=string.lower())
|
||||
search = '%{search}%'.format(search=string.lower())
|
||||
search_results = self.plugin.db_manager.get_all_objects(CustomSlide,
|
||||
or_(func.lower(CustomSlide.title).like(search),
|
||||
func.lower(CustomSlide.text).like(search)),
|
||||
|
@ -317,7 +317,7 @@ class EditSongForm(QtWidgets.QDialog, Ui_EditSongDialog, RegistryProperties):
|
||||
self.song.verse_order = re.sub('([' + verse.upper() + verse.lower() + '])(\W|$)',
|
||||
r'\g<1>1\2', self.song.verse_order)
|
||||
except:
|
||||
log.exception('Problem processing song Lyrics \n{xml}'.forma(xml=sxml.dump_xml()))
|
||||
log.exception('Problem processing song Lyrics \n{xml}'.format(xml=sxml.dump_xml()))
|
||||
raise
|
||||
|
||||
def keyPressEvent(self, event):
|
||||
|
Loading…
Reference in New Issue
Block a user