mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 06:06:19 +01:00
@@ -162,7 +162,7 @@ class TS3Proto:
|
||||
if isinstance(value, int):
|
||||
return "%d" % value
|
||||
value = value.replace("\\", r'\\')
|
||||
for i, j in ts3_escape:
|
||||
for i, j in ts3_escape.items():
|
||||
value = value.replace(i, j)
|
||||
return value
|
||||
|
||||
@@ -177,7 +177,7 @@ class TS3Proto:
|
||||
if isinstance(value, int):
|
||||
return "%d" % value
|
||||
value = value.replace(r"\\", "\\")
|
||||
for i, j in ts3_escape:
|
||||
for i, j in ts3_escape.items():
|
||||
value = value.replace(j, i)
|
||||
return value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user