From db19695091b11c662ef20ceb46157e01fb8af074 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 5 Apr 2011 14:01:31 +0200 Subject: new base skin --- src/meetingtools/ac/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/meetingtools') diff --git a/src/meetingtools/ac/api.py b/src/meetingtools/ac/api.py index 22470a2..aa36067 100644 --- a/src/meetingtools/ac/api.py +++ b/src/meetingtools/ac/api.py @@ -26,7 +26,7 @@ class ACPResult(): def __init__(self,content): self.et = etree.fromstring(content) - self.status = self.et.find('status') + self.status = self.et.xpath('//status')[0] def is_error(self): return self.status_code() != 'ok' -- cgit v1.1