fixed test

This commit is contained in:
Andreas Preikschat 2013-07-18 16:42:55 +02:00
parent 283d9c8e9d
commit 9c42011541
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ class EasyWorshipSongImport(SongImport):
return None
# Format the field depending on the field type
if field_desc.field_type == FieldType.String:
return field.rstrip('\0').decode(self.encoding)
return field.rstrip('\0')
elif field_desc.field_type == FieldType.Int16:
return field ^ 0x8000
elif field_desc.field_type == FieldType.Int32: