From 7eebdab3909f1d33e43ae426c23b04ace506f768 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 25 May 2011 22:03:25 +0200 Subject: new secret api.. --- src/meetingtools/apps/room/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py index ba1c8d3..3c55a83 100644 --- a/src/meetingtools/apps/room/views.py +++ b/src/meetingtools/apps/room/views.py @@ -352,7 +352,7 @@ def _goto(request,room,clean=True,promote=False): userlist = api.request('meeting-usermanager-user-list',{'sco-id': room.sco_id},False) room.user_count = 0 if userlist.status_code() == 'ok': - room.user_count = userlist.et.xpath("count(.//userdetails)") + room.user_count = int(userlist.et.xpath("count(.//userdetails)")) #session_info = api.request('report-meeting-sessions',{'sco-id':room.sco_id}) #room.user_count = _nusers(session_info) -- cgit v1.1