From 940a05a2d1cd591f3af5047f04b7cf82a2b55eef Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Sat, 11 May 2024 15:11:55 -0400 Subject: [PATCH] Fix sounds on Python 3.12 --- tools/assemble_sound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/assemble_sound.py b/tools/assemble_sound.py index 65e5b269..f0918bb8 100755 --- a/tools/assemble_sound.py +++ b/tools/assemble_sound.py @@ -66,7 +66,7 @@ def validate(cond, msg, forstr=""): def strip_comments(string): - string = re.sub(re.compile("/\*.*?\*/", re.DOTALL), "", string) + string = re.sub(re.compile(r"/\*.*?\*/", re.DOTALL), "", string) return re.sub(re.compile("//.*?\n"), "", string)