Fix a bytes(s) call in MediaFile

This commit is contained in:
Adrian Sampson 2016-07-01 20:57:35 -07:00
parent fee33d12a4
commit eea4c02d54

View file

@ -774,7 +774,7 @@ class MP3DescStorageStyle(MP3StorageStyle):
# Try creating a new frame.
if not found:
frame = mutagen.id3.Frames[self.key](
desc=bytes(self.description),
desc=self.description.encode('utf8'),
text=value,
encoding=mutagen.id3.Encoding.UTF8,
)