[ci] auto-format

This commit is contained in:
brostosjoined 2024-03-03 17:55:55 +00:00 committed by github-actions[bot]
parent 2b70c7e906
commit a23f69997c

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 socket
@ -268,7 +266,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