summaryrefslogtreecommitdiff
path: root/meetingtools/ac
diff options
context:
space:
mode:
Diffstat (limited to 'meetingtools/ac')
-rw-r--r--meetingtools/ac/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meetingtools/ac/api.py b/meetingtools/ac/api.py
index 5fbcfbf..230bae8 100644
--- a/meetingtools/ac/api.py
+++ b/meetingtools/ac/api.py
@@ -149,7 +149,7 @@ class ACPClient():
p = self._find_or_create_principal(key,value,t,d)
cache[key] = etree.tostring(p)
else:
- p = etree.parse(StringIO(cache[key]))
+ p = etree.parse(StringIO(cache[key])).getroot()
return p
def find_principal(self,key,value,t):