ldap_attr bugfix (#48009)

This commit is contained in:
Seebi 2018-11-05 18:20:37 +01:00 committed by John R Barker
parent 0c95453a70
commit ee13bc248b

View file

@ -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'])]