mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Move description to end of comments for news downloads
This commit is contained in:
parent
c2e4e66dc5
commit
a136220f88
@ -1430,11 +1430,11 @@ class BasicNewsRecipe(Recipe):
|
|||||||
aseen.add(a.title)
|
aseen.add(a.title)
|
||||||
article_titles.append(force_unicode(a.title, 'utf-8'))
|
article_titles.append(force_unicode(a.title, 'utf-8'))
|
||||||
|
|
||||||
mi.comments = self.description
|
desc = self.description
|
||||||
if not isinstance(mi.comments, unicode):
|
if not isinstance(desc, unicode):
|
||||||
mi.comments = mi.comments.decode('utf-8', 'replace')
|
desc = desc.decode('utf-8', 'replace')
|
||||||
mi.comments += ('\n\n' + _('Articles in this issue: ') + '\n' +
|
mi.comments = (_('Articles in this issue:') + '\n\n' +
|
||||||
'\n\n'.join(article_titles))
|
'\n\n'.join(article_titles)) + '\n\n' + desc
|
||||||
|
|
||||||
language = canonicalize_lang(self.language)
|
language = canonicalize_lang(self.language)
|
||||||
if language is not None:
|
if language is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user