summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-25 22:03:25 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-25 22:03:25 +0200
commit7eebdab3909f1d33e43ae426c23b04ace506f768 (patch)
tree4c3d7cf6f9adc3713a0642f88eb985e5c1b0df65
parent14861dd94579f4e98463d4185fd137f58ffe8107 (diff)
new secret api..
-rw-r--r--src/meetingtools/apps/room/views.py2
1 files changed, 1 insertions, 1 deletions
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)