mirror of
https://github.com/beetbox/beets.git
synced 2026-01-06 16:02:53 +01:00
Rename ImageMagick version getter
This commit is contained in:
parent
b1c58e99ec
commit
73924064ed
1 changed files with 2 additions and 2 deletions
|
|
@ -218,7 +218,7 @@ class ArtResizer(object):
|
|||
@staticmethod
|
||||
def _check_method():
|
||||
"""Return a tuple indicating an available method and its version."""
|
||||
version = get_image_magick_version()
|
||||
version = get_im_version()
|
||||
if version:
|
||||
return IMAGEMAGICK, version
|
||||
|
||||
|
|
@ -229,7 +229,7 @@ class ArtResizer(object):
|
|||
return WEBPROXY, (0)
|
||||
|
||||
|
||||
def get_image_magick_version():
|
||||
def get_im_version():
|
||||
"""Return Image Magick version or None if it is unavailable
|
||||
Try invoking ImageMagick's "convert"."""
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue