From 3feca0981a1bfe8f70da6efcba456e8dd30339b3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 9 Apr 2017 19:44:12 +0530 Subject: [PATCH] ... --- recipes/economist.recipe | 2 +- recipes/economist_free.recipe | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/economist.recipe b/recipes/economist.recipe index db4163daa4..d1efd28412 100644 --- a/recipes/economist.recipe +++ b/recipes/economist.recipe @@ -177,7 +177,7 @@ class Economist(BasicNewsRecipe): for a in section.findNextSiblings('a', href=True): spans = a.findAll('span') if len(spans) == 2: - title = '{}: {}'.format(*map(self.tag_to_string, spans)) + title = u'{}: {}'.format(*map(self.tag_to_string, spans)) else: title = self.tag_to_string(a) articles.append({'title': title, 'url': process_url(a['href'])}) diff --git a/recipes/economist_free.recipe b/recipes/economist_free.recipe index db4163daa4..d1efd28412 100644 --- a/recipes/economist_free.recipe +++ b/recipes/economist_free.recipe @@ -177,7 +177,7 @@ class Economist(BasicNewsRecipe): for a in section.findNextSiblings('a', href=True): spans = a.findAll('span') if len(spans) == 2: - title = '{}: {}'.format(*map(self.tag_to_string, spans)) + title = u'{}: {}'.format(*map(self.tag_to_string, spans)) else: title = self.tag_to_string(a) articles.append({'title': title, 'url': process_url(a['href'])})