fix regression from [e265514d]: gupnp object is keept globally. Fixes #9398

This commit is contained in:
Yann Leboulanger 2018-10-22 13:38:40 +02:00 committed by Philipp Hörist
parent ee7db4f7de
commit ba82ab9d98
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ def detect_dependencies():
try:
gi.require_version('GUPnPIgd', '1.0')
from gi.repository import GUPnPIgd
GUPnPIgd.SimpleIgd()
gupnp_igd = GUPnPIgd.SimpleIgd()
_dependencies['UPNP'] = True
except ValueError:
pass