accept ideographic space as tag separator

See also 6877cb0.
This commit is contained in:
Soren I. Bjornstad 2014-08-14 10:51:43 -05:00
parent b19a1707fb
commit 439f9b766d

View File

@ -109,7 +109,7 @@ class TagManager(object):
def split(self, tags): def split(self, tags):
"Parse a string and return a list of tags." "Parse a string and return a list of tags."
return [t for t in tags.split(" ") if t] return [t for t in tags.replace(u'\u3000', ' ').split(" ") if t]
def join(self, tags): def join(self, tags):
"Join tags into a single string, with leading and trailing spaces." "Join tags into a single string, with leading and trailing spaces."