From aa70a8ed61d168daf4bbe3add89b71531612aeb2 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Fri, 7 Mar 2025 09:51:07 +0530 Subject: [PATCH] Update barrons.recipe --- recipes/barrons.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/barrons.recipe b/recipes/barrons.recipe index 4635f49c53..276fd9bd68 100644 --- a/recipes/barrons.recipe +++ b/recipes/barrons.recipe @@ -58,7 +58,7 @@ def make_html(a): if typ == 'listelement': return f'
  • {make_hlinks(a)}
  • ' if typ == 'dynamicinset': - if 'datawrapper-chart-' in a['webview']['value']: + if a.get('webview') and 'datawrapper-chart-' in a['webview']['value']: dw = re.search(r'datawrapper-chart-(.{5})', a['webview']['value']).group(1) return f'' return ''