[ci] auto-format

This commit is contained in:
Loup-Garou911XD 2025-01-23 21:27:14 +00:00 committed by github-actions[bot]
parent dfe63daefb
commit 004ee518ca
2 changed files with 3 additions and 2 deletions

View file

@ -1559,7 +1559,8 @@ class Nice(mm.MainMenuWindow):
tn.append(i)
try:
attr = getattr(blex, i) if i not in [
"punch_position", "punch_velocity", "punch_momentum_linear"] else (0, 0, 0) # gay
# gay
"punch_position", "punch_velocity", "punch_momentum_linear"] else (0, 0, 0)
except:
attr = None
typez.append(str(type(attr).__name__))

View file

@ -123,7 +123,7 @@ class CommonUtilities:
remove(external_dir+selected_replay)
cls_inst.on_tab_select(tab_id) # updating the tab
Print(selected_replay[0:-4]+" was deleted", color=red)
ConfirmWindow(text=f"Delete \"{selected_replay.split('.')[0]}\" \nfrom {'internal directory' if tab_id==MyTabId.INTERNAL else 'external directory'}?",
ConfirmWindow(text=f"Delete \"{selected_replay.split('.')[0]}\" \nfrom {'internal directory' if tab_id == MyTabId.INTERNAL else 'external directory'}?",
action=do_it, cancel_is_selected=True)