From 4886cceb87642b3b331216c4edc37d98bfef2f8e Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 31 Jan 2019 23:05:15 +0530 Subject: [PATCH] Fix #353: Disable appending tags from page. Too many tags get added from parsed page without user control. In general, users are not interested in these tags which they are not aware of. --- buku | 6 ------ 1 file changed, 6 deletions(-) diff --git a/buku b/buku index e144231..bed4696 100755 --- a/buku +++ b/buku @@ -596,8 +596,6 @@ class BukuDb: # Fix up tags, if broken if tags_in and tags_in != DELIM: tags_in = delim_wrap(tags_in) - else: - tags_in = delim_wrap(parse_tags([ptags])) # Process description if desc is None: @@ -866,9 +864,6 @@ class BukuDb: query += ' desc = ?,' arguments += (pdesc,) to_update = True - - if not tags_in and ptags: - self.append_tag_at_index(index, delim_wrap(ptags)) elif not to_update and not tag_modified: ret = self.refreshdb(index, threads) if ret and index and self.chatty: @@ -1035,7 +1030,6 @@ class BukuDb: LOGDBG('refreshdb query: "%s", args: %s', query, arguments) self.cur.execute(query, arguments) - self.append_tag_at_index(row[0], delim_wrap(tags), delay_commit=True) # Save after fetching 32 titles per thread if count & 0b11111 == 0: