Use + instead of extend().
This commit is contained in:
parent
aa9ddc86e1
commit
ccebb67a0e
2
buku
2
buku
@ -1128,7 +1128,7 @@ def parse_tags(keywords=None):
|
|||||||
if tags == DELIMITER:
|
if tags == DELIMITER:
|
||||||
return tags
|
return tags
|
||||||
|
|
||||||
origTags.extend(tags.strip(DELIMITER).split(DELIMITER))
|
origTags += tags.strip(DELIMITER).split(DELIMITER)
|
||||||
for tag in origTags:
|
for tag in origTags:
|
||||||
if tag not in uniqueTags:
|
if tag not in uniqueTags:
|
||||||
uniqueTags += (tag, ) # Select unique tags
|
uniqueTags += (tag, ) # Select unique tags
|
||||||
|
Loading…
Reference in New Issue
Block a user