From a822b60069d971bd744afd564b863abfbe620fcf Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 21 May 2015 10:11:27 -0500 Subject: [PATCH] Fix get_update_data call when overwriting with logfile. --- calibre-plugin/jobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calibre-plugin/jobs.py b/calibre-plugin/jobs.py index dc667f7..5b7788c 100644 --- a/calibre-plugin/jobs.py +++ b/calibre-plugin/jobs.py @@ -164,8 +164,8 @@ def do_download_for_worker(book,options,notification=lambda x,y:x): # preserve logfile even on overwrite. if 'epub_for_update' in book: - adapter.logfile = get_update_data(book['epub_for_update']).logfile - + + adapter.logfile = get_update_data(book['epub_for_update'])[6] # change the existing entries id to notid so # write_epub writes a whole new set to indicate overwrite. if adapter.logfile: