mirror of
https://github.com/beetbox/beets.git
synced 2026-02-22 07:14:24 +01:00
ArtResizer: fix IM get image size output parsing
This commit is contained in:
parent
5453cf96c8
commit
a200bb3256
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ def im_getsize(path_in):
|
|||
util.displayable_path(path_in))
|
||||
return
|
||||
try:
|
||||
return out.split(' ')[-7].split('x')
|
||||
return tuple(map(int, out.split(b' ')[-7].split(b'x')))
|
||||
except IndexError:
|
||||
log.warn(u'Could not understand IM output: {0!r}', out)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue