From e42d3431bbc4cbef508e7b7da709de45fb6ea670 Mon Sep 17 00:00:00 2001 From: John Lines Date: Fri, 23 Aug 2019 10:33:48 +0100 Subject: [PATCH] Use .format in importer.py --- openlp/plugins/songs/lib/importer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/songs/lib/importer.py b/openlp/plugins/songs/lib/importer.py index 5fa758783..2603f2f23 100644 --- a/openlp/plugins/songs/lib/importer.py +++ b/openlp/plugins/songs/lib/importer.py @@ -349,7 +349,8 @@ class SongFormat(object): 'class': SingingTheFaithImport, 'name': 'SingingTheFaith', 'prefix': 'singingTheFaith', - 'filter': '%s (*.txt)' % translate('SongsPlugin.ImportWizardForm', 'Singing The Faith Exported Files'), + 'filter': '{text} (*.txt)'.format(text=translate('SongsPlugin.ImportWizardForm', + 'Singing The Faith Exported Files')), 'descriptionText': translate('SongsPlugin.ImportWizardForm', 'First use Singing The Faith Electonic edition to export ' 'the song(s) in Text format.')