don't crash when Farstream is not installed

This commit is contained in:
Yann Leboulanger 2014-03-26 18:23:58 +01:00
parent e746ca9b1a
commit 3cbb9df77b

View file

@ -199,7 +199,7 @@ try:
except GLib.GError:
HAVE_FARSTREAM = False
except ImportError:
except (ImportError, ValueError):
HAVE_FARSTREAM = False
HAVE_UPNP_IGD = True