Don't add single comma as tag.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
This commit is contained in:
Arun Prakash Jana 2016-03-16 22:05:34 +05:30
parent 806f845beb
commit c54a636554

3
buku
View File

@ -142,6 +142,9 @@ def AddUpdateEntry(conn, cur, keywords, index):
else:
tag = tag.strip(',')
if tag == ',':
continue
if tags[-1] == ',':
tags += tag
else: