Skip to content

Commit 7f33e3e

Browse files
iMicknlCopilot
andauthored
Update utils/generate_enums.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a6a8f50 commit 7f33e3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/generate_enums.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,9 +657,9 @@ async def generate_command_enums() -> None:
657657
lines.append("")
658658

659659
# Append ExecutionMode class
660-
command_mode_start = content.find("@unique\nclass ExecutionMode")
661-
if command_mode_start != -1:
662-
lines.append(content[command_mode_start:].rstrip())
660+
execution_mode_start = content.find("@unique\nclass ExecutionMode")
661+
if execution_mode_start != -1:
662+
lines.append(content[execution_mode_start:].rstrip())
663663
lines.append("")
664664

665665
# Write to the command.py file

0 commit comments

Comments
 (0)