From a39240badf6f84517b9571c8e72564e922ed72df Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Mon, 1 May 2017 21:16:39 +0200 Subject: [PATCH] Replace songbeamers flatnote representationwith the actual flatnote sign. --- openlp/plugins/songs/lib/importers/songbeamer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openlp/plugins/songs/lib/importers/songbeamer.py b/openlp/plugins/songs/lib/importers/songbeamer.py index 658569491..8c3765ff5 100644 --- a/openlp/plugins/songs/lib/importers/songbeamer.py +++ b/openlp/plugins/songs/lib/importers/songbeamer.py @@ -188,7 +188,9 @@ class SongBeamerImport(SongImport): elif int_idx > len(line): # If a chord is placed beyond the current end of the line, extend the line with spaces. line += ' ' * (int_idx - len(line)) - line = line[:int_idx] + '[' + self.chord_table[line_number][idx] + ']' + line[int_idx:] + chord = self.chord_table[line_number][idx] + chord = chord.replace('<', '♭') + line = line[:int_idx] + '[' + chord + ']' + line[int_idx:] return line def replace_html_tags(self):