Private GIT

Skip to content
Snippets Groups Projects
Commit 0af10956 authored by miigotu's avatar miigotu
Browse files

Merge pull request #2465 from SiCKRAGETV/start-recursion-fixes

Fix recursion depth error in _doLogin
parents 30a4fbb1 a4058bb0
No related branches found
No related tags found
No related merge requests found
......@@ -1359,7 +1359,7 @@ def getURL(url, post_data=None, params={}, headers={}, timeout=30, session=None,
session = _setUpSession(session, headers)
for param in params:
for param in params or {}:
if isinstance(params[param], unicode):
params[param] = params[param].encode('utf-8')
......
......@@ -135,10 +135,6 @@ class GenericProvider:
for providers with special URL requirements (like cookies)
"""
# check for auth
if not self._doLogin():
return
if self.proxy.isEnabled():
self.headers.update({'Referer': self.proxy.getProxyURL()})
self.proxyGlypeProxySSLwarning = self.proxy.getProxyURL() + 'includes/process.php?action=sslagree&submit=Continue anyway...'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment