retain sanitized spaces

closes #465
This commit is contained in:
Adarnof 2016-06-10 22:03:31 -04:00 committed by GitHub
parent 8abccfd1f2
commit 077531fa5a

View File

@ -67,7 +67,7 @@ class Phpbb3Manager:
@staticmethod
def __santatize_username(username):
sanatized = username.replace(" ", "_")
sanatized = username.replace("'", "_")
sanatized = sanatized.replace("'", "_")
return sanatized.lower()
@staticmethod