• Link Mauve's avatar
    Also skip librsvg import on AttributeError · b7fc562c
    Link Mauve authored
    In the case python-gobject isn’t installed, but another package (such as
    libibus) provides overrides, the gi module will still get imported fine
    despite being empty, resulting in a traceback. To prevent this, we also
    catch AttributeError so that gi.require_version can fail.
    b7fc562c
image.py 6.01 KB