Skip to content

Commit afc20c7

Browse files
committed
fix(app): SyntaxWarning
1 parent a799709 commit afc20c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lagrange/info/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _translate_appinfo(s: _T) -> _T:
2222
else:
2323
k = re.sub(
2424
r'([A-Z])([^A-Z]+)',
25-
'_\g<0>',
25+
'_\0',
2626
k
2727
).lstrip("_").lower()
2828
out[k] = v

0 commit comments

Comments
 (0)