diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/meetingtools/apps/room/views.py | 2 |
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) |