removal of extraneous comments

This commit is contained in:
Rob Dennis 2010-09-04 05:36:48 +08:00 committed by rmmh
parent 43fd4dbe19
commit 59ea02c1fc
1 changed files with 0 additions and 2 deletions

View File

@ -21,7 +21,6 @@ def tv_next(inp):
try:
query = http.get_xml(base_url + 'GetSeries.php', seriesname=inp)
except URLError:
#outputs on timeout
return "error contacting thetvdb.com"
series_id = query.xpath('//seriesid/text()')
@ -35,7 +34,6 @@ def tv_next(inp):
series = http.get_xml(base_url + '%s/series/%s/all/en.xml' %
(api_key, series_id))
except URLError:
#outputs on timeout
return "error contacting thetvdb.com"
series_name = series.xpath('//SeriesName/text()')[0]