Commit b4e222c1 authored by Romain Courteaud's avatar Romain Courteaud

Handle network without upnp

parent 628f3387
......@@ -125,7 +125,10 @@ class WebBot:
u.discoverdelay = 200
u.discover()
u.selectigd()
print("external ip: {}".format(u.externalipaddress()))
try:
print("external ip: {}".format(u.externalipaddress()))
except Exception:
pass
try:
self.check(url)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment