summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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