summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/windows/image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/image.py b/poezio/windows/image.py
index dfd2eae2..ebecb5ad 100644
--- a/poezio/windows/image.py
+++ b/poezio/windows/image.py
@@ -20,7 +20,7 @@ try:
from gi.repository import Rsvg
import cairo
HAS_RSVG = True
-except (ImportError, ValueError):
+except (ImportError, ValueError, AttributeError):
HAS_RSVG = False
from poezio.windows.base_wins import Win