From fcf8dc2cde607f444fd0c743732f057e4c532c7c Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 9 Aug 2021 12:54:12 -0500 Subject: [PATCH] Keep existing series/anthology URL during update for config purposes. --- calibre-plugin/fff_plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calibre-plugin/fff_plugin.py b/calibre-plugin/fff_plugin.py index 575edfff..eaebc464 100644 --- a/calibre-plugin/fff_plugin.py +++ b/calibre-plugin/fff_plugin.py @@ -2900,10 +2900,12 @@ class FanFicFarePlugin(InterfaceAction): else: book['comments'] += '\n'.join( [ mkbooktitle(x) for x in book_list ] ) book['comments'] += '' - logger.debug(book['comments']) + # logger.debug(book['comments']) configuration = get_fff_config(book['url'],options['fileform']) if existingbook: + if 'url' in existingbook and existingbook['url']: + book['url'] = existingbook['url'] book['title'] = deftitle = existingbook['title'] if prefs['anth_comments_newonly']: book['comments'] = existingbook['comments']