From 8c433aaba53001d26f6e34dba66e14400dbd2ed1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 22 Sep 2024 21:35:12 +0530 Subject: [PATCH] flake8 correction --- recipes/tls_mag.recipe | 9 --------- 1 file changed, 9 deletions(-) diff --git a/recipes/tls_mag.recipe b/recipes/tls_mag.recipe index b2b80915b0..6114bce8d2 100644 --- a/recipes/tls_mag.recipe +++ b/recipes/tls_mag.recipe @@ -117,15 +117,6 @@ class tls(BasicNewsRecipe): if 'bookdetails' in prim and prim['bookdetails']: bks += '
' - for a in c_data['bookdetails']: - for x, y in a.items(): - if isinstance(y, str): - if x == 'imageurl': - bks += ''.format(y) - elif y: - bks += '
' + y + '
\n' - bks += '
' - else: prim = title = desc = label = auth = lede = bks = ''