mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix a typo causing proxy not used
This commit is contained in:
parent
10f6b1561e
commit
616cf2bc20
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class FunctionWorker(BaseWorker):
|
|||
if tries is not None:
|
||||
ctx_tries.set(tries)
|
||||
proxy = entry.get('proxy', None)
|
||||
if tries is not None:
|
||||
if proxy is not None:
|
||||
ctx_proxy.set(proxy)
|
||||
ua = entry.get('user_agent', None)
|
||||
if ua is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue