Use + instead of extend().

This commit is contained in:
Arun Prakash Jana 2016-06-04 05:51:52 +05:30
parent aa9ddc86e1
commit ccebb67a0e
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB

2
buku
View File

@ -1128,7 +1128,7 @@ def parse_tags(keywords=None):
if tags == DELIMITER:
return tags
origTags.extend(tags.strip(DELIMITER).split(DELIMITER))
origTags += tags.strip(DELIMITER).split(DELIMITER)
for tag in origTags:
if tag not in uniqueTags:
uniqueTags += (tag, ) # Select unique tags