Commit d453a613 by Victor Shnayder

fix regexp

parent 76c47305
...@@ -33,7 +33,7 @@ def split_by_comma_and_whitespace(s): ...@@ -33,7 +33,7 @@ def split_by_comma_and_whitespace(s):
""" """
Split a string both by commas and whitespice. Returns a list. 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 @ensure_csrf_cookie
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment