Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2015-07-30 16:15:38 +0300
committerYann Leboulanger <asterix@lagaule.org>2015-07-30 16:15:38 +0300
commit5c0fce96680c1a6cd3c398bda118ecc6ab5cdd3b (patch)
tree160c19183c0776f75ccda5575db2b6827da1e52f /src/notify.py
parent75b94ca864739ddbae2cd74dda3c9c988f14b852 (diff)
fix launch when optional modules are not installed
Diffstat (limited to 'src/notify.py')
-rw-r--r--src/notify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify.py b/src/notify.py
index bdb0f907f..8a50565a9 100644
--- a/src/notify.py
+++ b/src/notify.py
@@ -50,7 +50,7 @@ try:
gi.require_version('Notify', '0.7')
from gi.repository import Notify
Notify.init('Gajim Notification')
-except ImportError:
+except ValueError:
USER_HAS_PYNOTIFY = False
def get_show_in_roster(event, account, contact, session=None):