summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-01-17 13:02:29 +0100
committerLeif Johansson <leifj@sunet.se>2012-01-17 13:02:29 +0100
commitf29d6c0b5e3aa1084e84aa04f2ee9b983d88afc1 (patch)
tree5629970f5246595f1997945abad9f44a93b85e44 /src/meetingtools
parent789f09f37c27694cf6b8f989b61e7d6839a5857e (diff)
even better tag separation
Diffstat (limited to 'src/meetingtools')
-rw-r--r--src/meetingtools/apps/room/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index ed8c2d6..8bd3f2d 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -466,7 +466,7 @@ def tag(request,rid):
if request.method == 'POST':
form = TagRoomForm(request.POST)
if form.is_valid():
- for tag in form.cleaned_data['tag'].split(','):
+ for tag in form.cleaned_data['tag'].split('[,\s]+'):
tag = tag.strip()
ok,reason = _can_tag(request,tag)
if ok: