summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-10-12 01:09:43 +0200
committerLeif Johansson <leifj@sunet.se>2011-10-12 01:09:43 +0200
commit145d68e14b8fb747b43fb31bac61ece0dad10b5a (patch)
tree392e3303dcb72f6ba2e84dc762923d56d530b1a4 /src/meetingtools
parentf23ef96409501ee1cafdc3aaf7d8d48a6b69cb88 (diff)
probably need to look at the visit stats...
Diffstat (limited to 'src/meetingtools')
-rw-r--r--src/meetingtools/apps/room/views.py3
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