diff --git a/apprise/plugins/NotifyDBus.py b/apprise/plugins/NotifyDBus.py index 92b99eae..37f2b256 100644 --- a/apprise/plugins/NotifyDBus.py +++ b/apprise/plugins/NotifyDBus.py @@ -89,7 +89,7 @@ try: from gi.repository import GdkPixbuf NOTIFY_DBUS_IMAGE_SUPPORT = True - except (ImportError, ValueError): + except (ImportError, ValueError, AttributeError): # No problem; this will get caught in outer try/catch # A ValueError will get thrown upon calling gi.require_version() if diff --git a/apprise/plugins/NotifyGnome.py b/apprise/plugins/NotifyGnome.py index fcdd73d7..012c76fc 100644 --- a/apprise/plugins/NotifyGnome.py +++ b/apprise/plugins/NotifyGnome.py @@ -49,7 +49,7 @@ try: # We're good to go! NOTIFY_GNOME_SUPPORT_ENABLED = True -except (ImportError, ValueError): +except (ImportError, ValueError, AttributeError): # No problem; we just simply can't support this plugin; we could # be in microsoft windows, or we just don't have the python-gobject # library available to us (or maybe one we don't support)?