UPnP parser fix

- Fixes #1131
- Came over BM, thank you kind stranger
python3android
Peter Šurda 5 years ago
parent 1184b23223
commit 140265621f
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
  1. 2
      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)

Loading…
Cancel
Save