diff --git a/beetsplug/thumbnails.py b/beetsplug/thumbnails.py index 0e7fbc6e0..d6d4ff356 100644 --- a/beetsplug/thumbnails.py +++ b/beetsplug/thumbnails.py @@ -232,7 +232,7 @@ def copy_c_string(c_string): # work. A more surefire way would be to allocate a ctypes buffer and copy # the data with `memcpy` or somesuch. s = ctypes.cast(c_string, ctypes.c_char_p).value - return '' + s + return b'' + s class GioURI(URIGetter):