mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Update natpmp_upnp.py
This commit is contained in:
parent
6f5e4a7edc
commit
a8096be232
1 changed files with 2 additions and 3 deletions
|
|
@ -216,8 +216,7 @@ def add_port_mapping():
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
except SOAPError:
|
except SOAPError:
|
||||||
if not confirm_port():
|
pass
|
||||||
return
|
|
||||||
service.AddPortMapping(
|
service.AddPortMapping(
|
||||||
NewRemoteHost="",
|
NewRemoteHost="",
|
||||||
NewExternalPort=BS_PORT,
|
NewExternalPort=BS_PORT,
|
||||||
|
|
@ -234,7 +233,7 @@ def add_port_mapping():
|
||||||
)
|
)
|
||||||
bui.getsound("shieldUp").play()
|
bui.getsound("shieldUp").play()
|
||||||
except (SOAPError, HTTPError):
|
except (SOAPError, HTTPError):
|
||||||
babase.screenmessage('You will need to manualy add the port at the router :(')
|
babase.screenmessage('You will need to manualy add the port on the router :(')
|
||||||
|
|
||||||
|
|
||||||
@threaded
|
@threaded
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue