Update natpmp_upnp.py

This commit is contained in:
brostos 2024-03-03 20:27:09 +03:00 committed by GitHub
parent e508c4537c
commit f469c3d302
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -232,7 +232,7 @@ def add_port_mapping():
"You are now joinable from the internet", (0.2, 1, 0.2) "You are now joinable from the internet", (0.2, 1, 0.2)
) )
bui.getsound("shieldUp").play() bui.getsound("shieldUp").play()
except (SOAPError, HTTPError): except (SOAPError, HTTPError, UnicodeDecodeError):
babase.screenmessage('You will need to manualy add the port on the router :(') babase.screenmessage('You will need to manualy add the port on the router :(')