mirror of
https://github.com/beetbox/beets.git
synced 2026-01-29 11:35:27 +01:00
fix artresizer resize() method
This commit is contained in:
parent
6f9abf4340
commit
ee3f7b8c3e
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ class ArtResizer(object):
|
|||
temporary file. For WEBPROXY, returns `path_in` unmodified.
|
||||
"""
|
||||
if self.local:
|
||||
func = BACKEND_FUNCS[self.method]
|
||||
func = BACKEND_FUNCS[self.method[0]]
|
||||
return func(maxwidth, path_in, path_out)
|
||||
else:
|
||||
return path_in
|
||||
|
|
|
|||
Loading…
Reference in a new issue