From 140265621f0f2ce18267ec13c07b43c8ebca954b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0urda?= Date: Mon, 26 Feb 2018 20:03:35 +0100 Subject: [PATCH] UPnP parser fix - Fixes #1131 - Came over BM, thank you kind stranger --- src/upnp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upnp.py b/src/upnp.py index ad72560c..46d55956 100644 --- a/src/upnp.py +++ b/src/upnp.py @@ -224,7 +224,7 @@ class uPnPThread(threading.Thread, StoppableThread): continue newRouter = Router(resp, ip) for router in self.routers: - if router.location == newRouter.location: + if router.routerPath == newRouter.routerPath: break else: logger.debug("Found UPnP router at %s", ip)