diff options
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/apps/room/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py index 2c86e00..73e62e9 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('[, \t\n]+'): + for tag in re.split('[,\s]+',form.cleaned_data['tag']): tag = tag.strip() ok,reason = _can_tag(request,tag) if ok: |