Fix escape sequence
This commit is contained in:
parent
2c5c87f555
commit
8ee868ab69
|
@ -84,7 +84,7 @@ def ConvertPassword(password):
|
||||||
elif char == '"':
|
elif char == '"':
|
||||||
password_string += "''"+'"'+"''"
|
password_string += "''"+'"'+"''"
|
||||||
elif char == ';':
|
elif char == ';':
|
||||||
password_string += "'"+"\;"+"'"
|
password_string += "'"+r'\;'+"'"
|
||||||
elif char == "\\":
|
elif char == "\\":
|
||||||
password_string += "'"+'"'+"\\"+"\\"+'"'+"'"
|
password_string += "'"+'"'+"\\"+"\\"+'"'+"'"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue