mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
fix ProxyInfo() call
This commit is contained in:
parent
bc2112a127
commit
a84a95cb1a
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def _setupProxy():
|
|||
elif 'http' in r:
|
||||
url = r['http']
|
||||
if url:
|
||||
p = ProxyInfo.from_url(url, _proxyMethod(url))
|
||||
p = httplib2.ProxyInfo.from_url(url, _proxyMethod(url))
|
||||
HTTP_PROXY = p
|
||||
|
||||
def _proxyMethod(url):
|
||||
|
|
|
|||
Loading…
Reference in a new issue