fix a typo causing proxy not used
This commit is contained in:
parent
10f6b1561e
commit
616cf2bc20
|
@ -162,7 +162,7 @@ class FunctionWorker(BaseWorker):
|
||||||
if tries is not None:
|
if tries is not None:
|
||||||
ctx_tries.set(tries)
|
ctx_tries.set(tries)
|
||||||
proxy = entry.get('proxy', None)
|
proxy = entry.get('proxy', None)
|
||||||
if tries is not None:
|
if proxy is not None:
|
||||||
ctx_proxy.set(proxy)
|
ctx_proxy.set(proxy)
|
||||||
ua = entry.get('user_agent', None)
|
ua = entry.get('user_agent', None)
|
||||||
if ua is not None:
|
if ua is not None:
|
||||||
|
|
Loading…
Reference in New Issue