diff options
author | Leif Johansson <leifj@sunet.se> | 2011-10-12 01:09:43 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-10-12 01:09:43 +0200 |
commit | 145d68e14b8fb747b43fb31bac61ece0dad10b5a (patch) | |
tree | 392e3303dcb72f6ba2e84dc762923d56d530b1a4 /src/meetingtools | |
parent | f23ef96409501ee1cafdc3aaf7d8d48a6b69cb88 (diff) |
probably need to look at the visit stats...
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/apps/room/views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py index 3991495..33566fd 100644 --- a/src/meetingtools/apps/room/views.py +++ b/src/meetingtools/apps/room/views.py @@ -257,6 +257,7 @@ def _import_room(request,acc,r): if userlist.status_code() == 'ok': r['user_count'] = int(userlist.et.xpath("count(.//userdetails)")) r['host_count'] = int(userlist.et.xpath("count(.//userdetails/role[text() = 'host'])")) + modified = True #logging.debug(pformat(room)) @@ -280,6 +281,8 @@ def _import_room(request,acc,r): logging.debug("saving ... %s" % pformat(room)) room.save() + room.save() + return room @login_required |