fixed importer

This commit is contained in:
Andreas Preikschat 2013-04-20 20:25:46 +02:00
parent 85224bb792
commit 0a595a5994

View File

@ -132,7 +132,7 @@ class SongShowPlusImport(SongImport):
else: else:
length_descriptor, = struct.unpack("B", song_data.read(1)) length_descriptor, = struct.unpack("B", song_data.read(1))
log.debug(length_descriptor_size) log.debug(length_descriptor_size)
data = song_data.read(length_descriptor) data = song_data.read(length_descriptor).decode()
if block_key == TITLE: if block_key == TITLE:
self.title = data self.title = data
elif block_key == AUTHOR: elif block_key == AUTHOR: