removal of extraneous comments
This commit is contained in:
parent
43fd4dbe19
commit
59ea02c1fc
|
@ -21,7 +21,6 @@ def tv_next(inp):
|
||||||
try:
|
try:
|
||||||
query = http.get_xml(base_url + 'GetSeries.php', seriesname=inp)
|
query = http.get_xml(base_url + 'GetSeries.php', seriesname=inp)
|
||||||
except URLError:
|
except URLError:
|
||||||
#outputs on timeout
|
|
||||||
return "error contacting thetvdb.com"
|
return "error contacting thetvdb.com"
|
||||||
|
|
||||||
series_id = query.xpath('//seriesid/text()')
|
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' %
|
series = http.get_xml(base_url + '%s/series/%s/all/en.xml' %
|
||||||
(api_key, series_id))
|
(api_key, series_id))
|
||||||
except URLError:
|
except URLError:
|
||||||
#outputs on timeout
|
|
||||||
return "error contacting thetvdb.com"
|
return "error contacting thetvdb.com"
|
||||||
|
|
||||||
series_name = series.xpath('//SeriesName/text()')[0]
|
series_name = series.xpath('//SeriesName/text()')[0]
|
||||||
|
|
Loading…
Reference in New Issue