[ci] auto-format

This commit is contained in:
BroBordd 2025-04-04 23:35:43 +00:00 committed by github-actions[bot]
parent 527c99a16d
commit 637d83d6e1

View file

@ -78,7 +78,7 @@ def newconnect_to_party(address, port=43210, print_progress=False):
global p_port global p_port
bs.chatmessage(" Joined IP "+ip_add+" PORT "+str(p_port)) bs.chatmessage(" Joined IP "+ip_add+" PORT "+str(p_port))
dd = bs.get_connection_to_host_info_2() dd = bs.get_connection_to_host_info_2()
title = getattr(dd,'name','') title = getattr(dd, 'name', '')
bs.chatmessage(title) if dd and title else None bs.chatmessage(title) if dd and title else None
if (bool(dd)): if (bool(dd)):
bs.disconnect_from_host() bs.disconnect_from_host()