diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2015-07-30 16:15:38 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2015-07-30 16:15:38 +0300 |
commit | 5c0fce96680c1a6cd3c398bda118ecc6ab5cdd3b (patch) | |
tree | 160c19183c0776f75ccda5575db2b6827da1e52f /src/notify.py | |
parent | 75b94ca864739ddbae2cd74dda3c9c988f14b852 (diff) |
fix launch when optional modules are not installed
Diffstat (limited to 'src/notify.py')
-rw-r--r-- | src/notify.py | 2 |
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): |