From 0956133e8a3d76f582d018ce3a9bcb535f4debfa Mon Sep 17 00:00:00 2001 From: Lila Date: Sun, 15 Sep 2024 17:10:21 +0100 Subject: [PATCH] my old nemesis, black --- fast64_internal/f3d/f3d_bleed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fast64_internal/f3d/f3d_bleed.py b/fast64_internal/f3d/f3d_bleed.py index e67a35607..874a036a2 100644 --- a/fast64_internal/f3d/f3d_bleed.py +++ b/fast64_internal/f3d/f3d_bleed.py @@ -583,7 +583,7 @@ def add_reset_cmd(self, cmd: GbiMacro, reset_cmd_dict: dict[GbiMacro]): cmd_type = type(cmd) l: SPSetOtherMode = reset_cmd_dict.get("G_SETOTHERMODE_L") h: SPSetOtherMode = reset_cmd_dict.get("G_SETOTHERMODE_H") - if l or h: # should never be reached, but if we reach it we are prepared + if l or h: # should never be reached, but if we reach it we are prepared existing_mode = next((mode.startswith(cmd.mode_prefix) for mode in h.flagList + l.flagList), None) if h and cmd.is_othermodeh: if existing_mode: