mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +00:00
Fix sounds on Python 3.12
This commit is contained in:
parent
1e4e1f8e75
commit
940a05a2d1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue