don't crash when Farstream is not installed
This commit is contained in:
parent
e746ca9b1a
commit
3cbb9df77b
|
@ -199,7 +199,7 @@ try:
|
||||||
except GLib.GError:
|
except GLib.GError:
|
||||||
HAVE_FARSTREAM = False
|
HAVE_FARSTREAM = False
|
||||||
|
|
||||||
except ImportError:
|
except (ImportError, ValueError):
|
||||||
HAVE_FARSTREAM = False
|
HAVE_FARSTREAM = False
|
||||||
|
|
||||||
HAVE_UPNP_IGD = True
|
HAVE_UPNP_IGD = True
|
||||||
|
|
Loading…
Reference in New Issue