forked from openlp/openlp
Removed loop
This commit is contained in:
parent
7cc9f9ae7b
commit
e802d577fd
@ -227,9 +227,4 @@ class SongShowPlusImport(SongImport):
|
||||
try:
|
||||
return unicode(data, chardet.detect(data)['encoding'])
|
||||
except:
|
||||
self.encoding = u'cp1252'
|
||||
while self.encoding:
|
||||
try:
|
||||
return unicode(data, self.encoding)
|
||||
except:
|
||||
self.encoding = retrieve_windows_encoding()
|
||||
return unicode(data, retrieve_windows_encoding())
|
||||
|
Loading…
Reference in New Issue
Block a user