Fix sounds on Python 3.12

This commit is contained in:
Agent X 2024-05-11 15:11:55 -04:00
parent 1e4e1f8e75
commit 940a05a2d1

View file

@ -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)