mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
bytestringify path from tempfile name in fetchart
This commit is contained in:
parent
ce8d1c0c28
commit
915ec59500
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ def temp_file_for(path):
|
|||
"""
|
||||
ext = os.path.splitext(path)[1]
|
||||
with NamedTemporaryFile(suffix=ext, delete=False) as f:
|
||||
return f.name
|
||||
return util.bytestring_path(f.name)
|
||||
|
||||
|
||||
def pil_resize(maxwidth, path_in, path_out=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue