fix regexp

This commit is contained in:
Victor Shnayder
2013-01-25 13:42:04 -05:00
parent 76c4730532
commit d453a6136b

View File

@@ -33,7 +33,7 @@ def split_by_comma_and_whitespace(s):
"""
Split a string both by commas and whitespice. Returns a list.
"""
return re.split(r'[\s|,|]+', s)
return re.split(r'[\s,]+', s)
@ensure_csrf_cookie