

def pil_getsize(path_in):
    from PIL import Image
    try:
        im = Image.open(util.syspath(path_in))
        return im.size
    except IOError as exc:
        log.error('PIL could not read file {}: {}', util.displayable_path(im), exc)

dataset/ETHPy150Open beetbox/beets/beets/util/artresizer.py pil_getsize/VarMisuse@56/83 `path_in`->`im`