From 3cbb9df77b1ae9d2b6c7cfc72b82d9aebedb2e28 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 26 Mar 2014 18:23:58 +0100 Subject: [PATCH] don't crash when Farstream is not installed --- src/common/gajim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/gajim.py b/src/common/gajim.py index ea4014947..7e4a1ca1d 100644 --- a/src/common/gajim.py +++ b/src/common/gajim.py @@ -199,7 +199,7 @@ try: except GLib.GError: HAVE_FARSTREAM = False -except ImportError: +except (ImportError, ValueError): HAVE_FARSTREAM = False HAVE_UPNP_IGD = True