ldap_attr bugfix (#48009)
This commit is contained in:
parent
0c95453a70
commit
ee13bc248b
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class LdapAttr(LdapGeneric):
|
|||
|
||||
# Normalize values
|
||||
if isinstance(self.module.params['values'], list):
|
||||
self.values = map(to_bytes, self.module.params['values'])
|
||||
self.values = list(map(to_bytes, self.module.params['values']))
|
||||
else:
|
||||
self.values = [to_bytes(self.module.params['values'])]
|
||||
|
||||
|
|
Loading…
Reference in a new issue