mirror of
https://github.com/beetbox/beets.git
synced 2025-12-17 14:13:41 +01:00
commit
72372e96e2
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ def pil_resize(maxwidth, path_in, path_out=None):
|
|||
im = Image.open(util.syspath(path_in))
|
||||
size = maxwidth, maxwidth
|
||||
im.thumbnail(size, Image.ANTIALIAS)
|
||||
im.save(path_out)
|
||||
im.save(util.py3_path(path_out))
|
||||
return path_out
|
||||
except IOError:
|
||||
log.error(u"PIL cannot create thumbnail for '{0}'",
|
||||
|
|
|
|||
Loading…
Reference in a new issue