Do not encode usernames

This commit is contained in:
Daniel A. Wozniak 2018-04-26 09:53:56 -07:00
parent 708078b152
commit cc154ef857
No known key found for this signature in database
GPG Key ID: 166B9D2C06C82D61

View File

@ -87,7 +87,7 @@ def _get_username(member):
str: The username converted to domain\\username format
'''
return member.ADSPath.replace('WinNT://', '').replace(
'/', '\\').encode('ascii', 'backslashreplace')
'/', '\\')
def add(name, **kwargs):