From 7f78a66001be6bd4631938217cf386a3cfd31dd7 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Tue, 17 Jul 2012 09:13:12 +0200 Subject: [PATCH] Remove authors from authors table that are no longer used after a set_authors. --- src/calibre/library/database2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/library/database2.py b/src/calibre/library/database2.py index 9e6a0a3951..8a9152eb48 100644 --- a/src/calibre/library/database2.py +++ b/src/calibre/library/database2.py @@ -2366,6 +2366,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns): # This can repeat what was done above in rare cases. Let it. ss = self.author_sort_from_book(id, index_is_id=True) self._update_author_in_cache(id, ss, final_authors) + self.clean_standard_field('authors', commit=True) return books_to_refresh def set_authors(self, id, authors, notify=True, commit=True,