Fix metadata comments as text bug.

This commit is contained in:
John Schember 2011-05-07 09:46:17 -04:00
parent 7c0aebdfa6
commit 86b7ac2453

View File

@ -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)