From d145c8ce369eff56617959453d7fc81d00f4f024 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 5 Sep 2023 18:29:49 +0530 Subject: [PATCH] pep8 --- recipes/natgeohis.recipe | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/natgeohis.recipe b/recipes/natgeohis.recipe index d562e6b69a..c620b4a5a7 100644 --- a/recipes/natgeohis.recipe +++ b/recipes/natgeohis.recipe @@ -3,7 +3,6 @@ from __future__ import absolute_import, division, print_function, unicode_literals import json -from pprint import pformat from calibre.web.feeds.news import BasicNewsRecipe from calibre import prepare_string_for_xml as escape @@ -47,7 +46,7 @@ def parse_body(item): c = item['cntnt'] if item.get('type') == 'inline': if c.get('cmsType') == 'listicle': - if 'title' in c: + if 'title' in c: yield '

' + escape(c['title']) + "

" yield c['text'] elif c.get('cmsType') == 'image':