mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 15:03:22 +01:00
add missing b's in _unpack_asf_image
This commit is contained in:
parent
a274b4e737
commit
78139e60e8
1 changed files with 2 additions and 2 deletions
|
|
@ -184,12 +184,12 @@ def _unpack_asf_image(data):
|
|||
"""
|
||||
type, size = struct.unpack_from('<bi', data)
|
||||
pos = 5
|
||||
mime = ""
|
||||
mime = b''
|
||||
while data[pos:pos + 2] != b'\x00\x00':
|
||||
mime += data[pos:pos + 2]
|
||||
pos += 2
|
||||
pos += 2
|
||||
description = ""
|
||||
description = b''
|
||||
while data[pos:pos + 2] != b'\x00\x00':
|
||||
description += data[pos:pos + 2]
|
||||
pos += 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue