mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
typos
This commit is contained in:
@@ -219,10 +219,7 @@ def bulk_request(domain, req_data, ret=False):
|
|||||||
urls_queue = Queue()
|
urls_queue = Queue()
|
||||||
total = len(req_data)
|
total = len(req_data)
|
||||||
for index, info in enumerate(req_data):
|
for index, info in enumerate(req_data):
|
||||||
try:
|
|
||||||
url = info.get('url')
|
url = info.get('url')
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
urls_queue.put((index, url))
|
urls_queue.put((index, url))
|
||||||
session = get_session()
|
session = get_session()
|
||||||
thread_count = req_thread_count()
|
thread_count = req_thread_count()
|
||||||
|
|||||||
@@ -523,6 +523,7 @@ def check_net():
|
|||||||
logger.log('DEBUG', f'The computer is located in China')
|
logger.log('DEBUG', f'The computer is located in China')
|
||||||
return True, True
|
return True, True
|
||||||
else:
|
else:
|
||||||
|
logger.log('DEBUG', f'The computer is not located in China')
|
||||||
return True, False
|
return True, False
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user