From 813a223ecee57accd40f6e996c1597d776ea1ab8 Mon Sep 17 00:00:00 2001 From: Taekyung Heo <7621438+TaekyungHeo@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:08:07 -0500 Subject: [PATCH] et_visualizer: Resolve flake8 errors --- et_visualizer/et_visualizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/et_visualizer/et_visualizer.py b/et_visualizer/et_visualizer.py index 4216c1fc..bf4bd54f 100644 --- a/et_visualizer/et_visualizer.py +++ b/et_visualizer/et_visualizer.py @@ -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)