[ci] auto-format

This commit is contained in:
brostosjoined 2024-03-03 16:32:44 +00:00 committed by github-actions[bot]
parent e445036a20
commit 47c1d93e85

View file

@ -180,7 +180,6 @@ def add_port_mapping():
# bui.getsound('shieldDown').play() -> RuntimeError : Sound creation failed
return
local_ip = (
(
[
@ -238,7 +237,6 @@ def add_port_mapping():
babase.screenmessage('You will need to manualy add the port at the router :(')
@threaded
def delete_port_mapping():
import upnpy
@ -255,7 +253,8 @@ def delete_port_mapping():
for service in upnp_dev.services:
if service in WAN_SERVICE_NAMES:
service = upnp_dev[service]
service.DeletePortMapping(NewRemoteHost="", NewExternalPort=BS_PORT, NewProtocol="UDP")
service.DeletePortMapping(
NewRemoteHost="", NewExternalPort=BS_PORT, NewProtocol="UDP")
except:
pass