mirror of
https://github.com/beetbox/beets.git
synced 2026-01-14 04:01:43 +01:00
parent
076e77711f
commit
f4ae1d5ae7
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ def has_PIL():
|
|||
"""Return Image Magick version or None if it is unavailable
|
||||
Try importing PIL."""
|
||||
try:
|
||||
__import__('PIL', fromlist=['Image'])
|
||||
__import__('PIL', fromlist=[str('Image')])
|
||||
return (0,)
|
||||
except ImportError:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Reference in a new issue