From 86b7ac2453a4169f35a49939142a29ffec3667b3 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 7 May 2011 09:46:17 -0400 Subject: [PATCH] Fix metadata comments as text bug. --- src/calibre/ebooks/metadata/sources/identify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/metadata/sources/identify.py b/src/calibre/ebooks/metadata/sources/identify.py index 1bd071d6f9..31998dfcb2 100644 --- a/src/calibre/ebooks/metadata/sources/identify.py +++ b/src/calibre/ebooks/metadata/sources/identify.py @@ -403,7 +403,7 @@ def identify(log, abort, # {{{ result.identify_plugin = plugin if msprefs['txt_comments']: if plugin.has_html_comments and result.comments: - result.comments = html2text(r.comments) + result.comments = html2text(result.comments) log('The identify phase took %.2f seconds'%(time.time() - start_time)) log('The longest time (%f) was taken by:'%longest, lp)