Skip to content

Commit

Permalink
et_visualizer: Resolve flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TaekyungHeo committed Feb 6, 2024
1 parent f3769de commit 813a223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion et_visualizer/et_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def escape_label(label: str) -> str:
str: The escaped label string.
"""
# Define special characters to escape
special_chars = "{}()<>\[\]|&-"
special_chars = "{}()<>\\[\\]|&-"
# Escape special characters
return re.sub(f"([{special_chars}])", r"\\\1", label)

Expand Down

0 comments on commit 813a223

Please sign in to comment.