Wrap tags in commas in add_bookmark() if missing.

This commit is contained in:
Arun Prakash Jana 2016-05-29 12:34:16 +05:30
parent 612247ace7
commit 4ab8b43dd8
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB

5
buku
View File

@ -235,6 +235,11 @@ class BukuDb:
# Process tags
if tag_manual is None:
tag_manual = ','
else:
if tag_manual[0] != ',':
tag_manual = ',' + tag_manual
if tag_manual[-1] != ',':
tag_manual = tag_manual + ','
# Process description
if desc is None: