mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 07:50:16 +02:00
parent
3704586ec9
commit
e242b8cfec
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user