1. Zhang Huangbin
  2. iredapd

Commits

Zhang Huangbin  committed f618996

Fix incorrect return moderator value: should be whole list instead of only the first element.

  • Participants
  • Parent commits c2116e5
  • Branches default

Comments (0)

Files changed (1)

File src/iredapd.py

View file
         else:
             # Example of result data:
             # [('dn', {'listAllowedUser': ['user@domain.ltd']})]
-            return result[0][1][searchAttr][0]
+            return result[0][1][searchAttr]
 
     def __get_smtp_action(self, listname, sender):
         """return smtp_action"""