Removed loop

This commit is contained in:
Philip Ridout 2013-08-21 05:30:11 +00:00
parent 7cc9f9ae7b
commit e802d577fd

View File

@ -227,9 +227,4 @@ class SongShowPlusImport(SongImport):
try: try:
return unicode(data, chardet.detect(data)['encoding']) return unicode(data, chardet.detect(data)['encoding'])
except: except:
self.encoding = u'cp1252' return unicode(data, retrieve_windows_encoding())
while self.encoding:
try:
return unicode(data, self.encoding)
except:
self.encoding = retrieve_windows_encoding()