From c54a636554dc6a2644b3706d0ab31fbb832f2ec8 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 16 Mar 2016 22:05:34 +0530 Subject: [PATCH] Don't add single comma as tag. Signed-off-by: Arun Prakash Jana --- buku | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buku b/buku index 4935c3a..46b557d 100755 --- a/buku +++ b/buku @@ -142,6 +142,9 @@ def AddUpdateEntry(conn, cur, keywords, index): else: tag = tag.strip(',') + if tag == ',': + continue + if tags[-1] == ',': tags += tag else: