Commit b4e222c1 authored by Romain Courteaud's avatar Romain Courteaud

Handle network without upnp

parent 628f3387
...@@ -125,7 +125,10 @@ class WebBot: ...@@ -125,7 +125,10 @@ class WebBot:
u.discoverdelay = 200 u.discoverdelay = 200
u.discover() u.discover()
u.selectigd() u.selectigd()
print("external ip: {}".format(u.externalipaddress())) try:
print("external ip: {}".format(u.externalipaddress()))
except Exception:
pass
try: try:
self.check(url) 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