fixed ticket 299

This commit is contained in:
Andreas Preikschat 2011-10-16 22:32:50 +02:00
parent 3057acfe62
commit 13ff2faf18
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ class EasiSlidesImport(SongImport):
verses[reg][vt][vn] = {} verses[reg][vt][vn] = {}
if not verses[reg][vt][vn].has_key(inst): if not verses[reg][vt][vn].has_key(inst):
verses[reg][vt][vn][inst] = [] verses[reg][vt][vn][inst] = []
words = self.tidy_text(line) words = self.tidyText(line)
verses[reg][vt][vn][inst].append(words) verses[reg][vt][vn][inst].append(words)
# done parsing # done parsing

View File

@ -194,7 +194,7 @@ class SofImport(OooImport):
into line into line
""" """
text = textportion.getString() text = textportion.getString()
text = self.tidy_text(text) text = self.tidyText(text)
if text.strip() == u'': if text.strip() == u'':
return text return text
if textportion.CharWeight == BOLD: if textportion.CharWeight == BOLD: