From f02be2d913973683b03eab99e097a528109b0490 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 3 Nov 2024 22:37:23 +0530 Subject: [PATCH] pep8 --- recipes/business_standard_print.recipe | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes/business_standard_print.recipe b/recipes/business_standard_print.recipe index 9fa39a08bc..c2d1afbbf5 100644 --- a/recipes/business_standard_print.recipe +++ b/recipes/business_standard_print.recipe @@ -3,9 +3,10 @@ import json from datetime import datetime -from calibre.web.feeds.news import BasicNewsRecipe from html5_parser import parse +from calibre.web.feeds.news import BasicNewsRecipe + class BusinessStandardPrint(BasicNewsRecipe): title = 'Business Standard Print Edition' @@ -116,9 +117,9 @@ class BusinessStandardPrint(BasicNewsRecipe): date = (datetime.fromtimestamp(int(data['publishDate']))).strftime('%b %d, %Y | %I:%M %p') authors = [] - if 'articleMappedMultipleAuthors' in data: + if 'articleMappedMultipleAuthors' in data: for aut in data['articleMappedMultipleAuthors']: - authors.append(data['articleMappedMultipleAuthors'][str(aut)]) + authors.append(data['articleMappedMultipleAuthors'][str(aut)]) auth = '

' + ', '.join(authors) + ' | ' + data['placeName'] + ' | ' + date + '

' if 'featuredImageObj' in data: