diff options
-rw-r--r-- | chimere/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/utils.py b/chimere/utils.py index f5bc44f..f5379aa 100644 --- a/chimere/utils.py +++ b/chimere/utils.py @@ -593,7 +593,8 @@ class GeoRSSManager(ImportManager): from models import Marker new_item, updated_item, msg = 0, 0, '' feed = feedparser.parse(self.importer_instance.source) - if feed['bozo']: + if feed['bozo'] and not isinstance(feed['bozo_exception'], + feedparser.CharacterEncodingOverride): return (0, 0, _(u"RSS feed is not well formed")) for item in feed['items']: if "georss_point" not in item and 'georss_line' not in item \ |