Update scc.py

This commit is contained in:
tehspede 2014-04-23 00:43:54 +03:00
parent 5b713f0262
commit 90620e47b8
1 changed files with 1 additions and 3 deletions

View File

@ -240,9 +240,7 @@ class SCCProvider(generic.TorrentProvider):
parsed = list(urlparse.urlparse(url))
parsed[2] = re.sub("/{2,}", "/", parsed[2]) # replace two or more / with one
url = urlparse.urlunparse(parsed)
response = self.session.get(url, headers=headers, verify=False)
except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError), e:
logger.log(u"Error loading " + self.name + " URL: " + ex(e), logger.ERROR)