From 539426b41dfa03476e975777ab5808dc69ea24c3 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sat, 14 Jun 2014 20:58:18 -0500 Subject: [PATCH] Fix for 'a' flag on custom_columns_settings not working as intended. --- calibre-plugin/ffdl_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calibre-plugin/ffdl_plugin.py b/calibre-plugin/ffdl_plugin.py index efb1d5d..d101232 100644 --- a/calibre-plugin/ffdl_plugin.py +++ b/calibre-plugin/ffdl_plugin.py @@ -889,7 +889,7 @@ class FanFictionDownLoaderPlugin(InterfaceAction): # all_metadata duplicates some data, but also includes extra_entries, etc. book['all_metadata'] = story.getAllMetadata(removeallentities=True) - + book['title'] = story.getMetadata("title", removeallentities=True) book['author_sort'] = book['author'] = story.getList("author", removeallentities=True) book['publisher'] = story.getMetadata("site") @@ -1617,7 +1617,7 @@ class FanFictionDownLoaderPlugin(InterfaceAction): pass if val: - vallist = [val] + vallist.append(val) db.set_custom(book_id, ", ".join(vallist), label=label, commit=False)