diff --git a/recipes/bloomberg-business-week.recipe b/recipes/bloomberg-business-week.recipe index 9256f55e98..7f00977270 100644 --- a/recipes/bloomberg-business-week.recipe +++ b/recipes/bloomberg-business-week.recipe @@ -154,12 +154,12 @@ class Bloomberg(BasicNewsRecipe): if item['type'] == 'entity': if item['content'] and item['content'][0] and item['content'][0]['value']: - if item['subType'] == 'person' or 'security': - body += item['content'][0]['value'] if item['subType'] == 'story': if item['data'] and item['data']['link'] and item['data']['link']['destination']: if 'web' in item['data']['link']['destination']: body += '' + item['content'][0]['value'] + '' + elif item['subType'] == 'person' or 'security': + body += item['content'][0]['value'] if objects['type'] == 'quote': if 'content' not in objects: diff --git a/recipes/bloomberg.recipe b/recipes/bloomberg.recipe index eab6ea6c04..6db026428e 100644 --- a/recipes/bloomberg.recipe +++ b/recipes/bloomberg.recipe @@ -148,12 +148,12 @@ class Bloomberg(BasicNewsRecipe): if item['type'] == 'entity': if item['content'] and item['content'][0] and item['content'][0]['value']: - if item['subType'] == 'person' or 'security': - body += item['content'][0]['value'] if item['subType'] == 'story': if item['data'] and item['data']['link'] and item['data']['link']['destination']: if 'web' in item['data']['link']['destination']: body += '' + item['content'][0]['value'] + '' + elif item['subType'] == 'person' or 'security': + body += item['content'][0]['value'] if objects['type'] == 'quote': if 'content' not in objects: