From 75a138348e3c4de47884cfe1d921a5361e68534f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 Jan 2010 11:43:18 -0700 Subject: [PATCH] ... --- resources/recipes/independent.recipe | 2 +- src/calibre/devices/usbms/device.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/recipes/independent.recipe b/resources/recipes/independent.recipe index de33d64d93..2ce6b24c4f 100644 --- a/resources/recipes/independent.recipe +++ b/resources/recipes/independent.recipe @@ -3,7 +3,7 @@ from calibre.ebooks.BeautifulSoup import BeautifulSoup class TheIndependent(BasicNewsRecipe): title = u'The Independent' - language = 'en_UK' + language = 'en_GB' __author__ = 'Krittika Goyal' oldest_article = 1 #days max_articles_per_feed = 25 diff --git a/src/calibre/devices/usbms/device.py b/src/calibre/devices/usbms/device.py index 095f01ee21..e4244a5fd4 100644 --- a/src/calibre/devices/usbms/device.py +++ b/src/calibre/devices/usbms/device.py @@ -876,7 +876,7 @@ class Device(DeviceConfig, DevicePlugin): if tag.startswith(_('News')): extra_components.append('News') c = sanitize(mdata.title if mdata.title else '') - c = c.split('[')[0].strip() + #c = c.split('[')[0].strip() if c: extra_components.append(c) else: