Don't try to rss parse empty string

fix #1418
This commit is contained in:
Ruud
2013-05-18 22:52:02 +02:00
parent 7b5b748d23
commit 1570132a55

View File

@@ -62,7 +62,7 @@ class Provider(Plugin):
cache_key = '%s%s' % (md5(url), md5('%s' % kwargs.get('params', {})))
data = self.getCache(cache_key, url, **kwargs)
if data:
if data and len(data) > 0:
try:
data = XMLTree.fromstring(data)
return self.getElements(data, item_path)