mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-15 20:27:29 +08:00
cxb: added missing r which fixes an issue on ubuntu 24.04.1
This commit is contained in:
@@ -155,7 +155,7 @@ class CxbServlet(BaseServlet):
|
|||||||
filename = filetype_split[len(filetype_split) - 1]
|
filename = filetype_split[len(filetype_split) - 1]
|
||||||
|
|
||||||
match = re.match(
|
match = re.match(
|
||||||
"^([A-Za-z]*)(\d\d\d\d)$", filetype_split[len(filetype_split) - 1]
|
r"^([A-Za-z]*)(\d\d\d\d)$", filetype_split[len(filetype_split) - 1]
|
||||||
)
|
)
|
||||||
if match:
|
if match:
|
||||||
func_to_find += f"{inflection.underscore(match.group(1))}xxxx"
|
func_to_find += f"{inflection.underscore(match.group(1))}xxxx"
|
||||||
|
|||||||
Reference in New Issue
Block a user