mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 05:07:10 -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:
|
elif 'http' in r:
|
||||||
url = r['http']
|
url = r['http']
|
||||||
if url:
|
if url:
|
||||||
p = ProxyInfo.from_url(url, _proxyMethod(url))
|
p = httplib2.ProxyInfo.from_url(url, _proxyMethod(url))
|
||||||
HTTP_PROXY = p
|
HTTP_PROXY = p
|
||||||
|
|
||||||
def _proxyMethod(url):
|
def _proxyMethod(url):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue