summaryrefslogtreecommitdiff
path: root/meetingtools/apps/room
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-11-27 14:25:49 +0100
committerLeif Johansson <leifj@sunet.se>2012-11-27 14:25:49 +0100
commit8183fde1695ff362885f64fee276f410f19bb343 (patch)
treeae368de7d6b0fe2b8a39f53cb6de91585fd9ac62 /meetingtools/apps/room
parent63f93fb47c2be2b68e5ca974a3f6d0e708e943b6 (diff)
fix delete bug
Diffstat (limited to 'meetingtools/apps/room')
-rw-r--r--meetingtools/apps/room/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meetingtools/apps/room/views.py b/meetingtools/apps/room/views.py
index e0fbc97..04797dc 100644
--- a/meetingtools/apps/room/views.py
+++ b/meetingtools/apps/room/views.py
@@ -338,7 +338,7 @@ def delete(request,id):
form = DeleteRoomForm(request.POST)
if form.is_valid():
with ac_api_client(room.sco.acc) as api:
- api.request('sco-delete',{'sco-id':room.sco.sco_id},raise_error=True)
+ api.request('sco-delete',{'sco-id':room.sco.sco_id},raise_error=False)
clear_acl(room)
room.sco.delete()
if room.folder_sco is not None: