Skip to content
Snippets Groups Projects
Commit 7ebde173 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

use gobject introspection to access gupnp-igd

parent b8186352
No related branches found
No related tags found
No related merge requests found
......@@ -191,9 +191,8 @@ except ImportError:
HAVE_UPNP_IGD = True
try:
raise ImportError
import gupnp.igd
gupnp_igd = gupnp.igd.Simple()
from gi.repository import GUPnPIgd
gupnp_igd = GUPnPIgd.SimpleIgd()
except ImportError:
HAVE_UPNP_IGD = False
......
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