summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 41254c6..94b6877 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -249,6 +249,9 @@ def _import_room(request,acc,r):
#logging.debug(pformat(room))
+ if r.has_key('urlpath'):
+ r['urlpath'] = r['urlpath'].strip('/')
+
for key in ('sco_id','name','source_sco_id','urlpath','description','user_count','host_count'):
if r.has_key(key) and hasattr(room,key):
rv = getattr(room,key)