Private GIT

Skip to content
Snippets Groups Projects
Commit ae9ce4de authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Fixed some warnings

parent bd20f05b
No related branches found
No related tags found
No related merge requests found
from httplib import HTTPSConnection
from urllib import urlencode
import sickbeard import sickbeard
from sickbeard import logger, common from sickbeard import logger, common
......
...@@ -16,8 +16,6 @@ ...@@ -16,8 +16,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Sick Beard. If not, see <http://www.gnu.org/licenses/>. # along with Sick Beard. If not, see <http://www.gnu.org/licenses/>.
import xml.etree.cElementTree as etree
import sickbeard import sickbeard
import generic import generic
...@@ -61,8 +59,7 @@ class BTNCache(tvcache.TVCache): ...@@ -61,8 +59,7 @@ class BTNCache(tvcache.TVCache):
def _parseItem(self, item): def _parseItem(self, item):
title = item.findtext('title') (title, url) = self.provider._get_title_and_url(item)
url = item.findtext('link')
if not title or not url: if not title or not url:
logger.log(u"The XML returned from the BTN RSS feed is incomplete, this result is unusable", logger.ERROR) logger.log(u"The XML returned from the BTN RSS feed is incomplete, this result is unusable", logger.ERROR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment