Skip to content
Snippets Groups Projects
Commit 74c5f3d0 authored by André's avatar André
Browse files

Avahi: don't fail if avahi gir is not installed

Fixes #9610
parent ee6f65f4
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ def test_avahi():
import gi
gi.require_version('Avahi', '0.6')
from gi.repository import Avahi # pylint: disable=unused-variable
except ImportError:
except (ImportError, ValueError):
return False
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment