Escaped mysql character to prevent errors

This commit is contained in:
Mr McClain 2016-04-15 03:56:40 -05:00
parent e69744b7eb
commit 4ca9a96f8d

View File

@ -17,7 +17,7 @@ class MumbleManager:
@staticmethod
def __santatize_username(username):
sanatized = username.replace(" ", "_")
sanatized = sanatized.replace("'", "-")
sanatized = username.replace("'", "\\'")
return sanatized
@staticmethod