UPnP parser fix

- Fixes #1131
- Came over BM, thank you kind stranger
This commit is contained in:
Peter Šurda 2018-02-26 20:03:35 +01:00
parent 1184b23223
commit 140265621f
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ class uPnPThread(threading.Thread, StoppableThread):
newRouter = Router(resp, ip)
for router in self.routers:
if router.location == newRouter.location:
if router.routerPath == newRouter.routerPath:
logger.debug("Found UPnP router at %s", ip)