mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
修复日志输出问题
This commit is contained in:
+2
-1
@@ -119,7 +119,8 @@ def filter_url(domain, url, black_name):
|
|||||||
try:
|
try:
|
||||||
raw_url = parse.urlparse(url)
|
raw_url = parse.urlparse(url)
|
||||||
except Exception as e: # 解析失败则跳过该URL
|
except Exception as e: # 解析失败则跳过该URL
|
||||||
logger.log('DEBUG', url, e.args)
|
logger.log('DEBUG', url)
|
||||||
|
logger.log('DEBUG', e.args)
|
||||||
return True
|
return True
|
||||||
scheme = raw_url.scheme.lower()
|
scheme = raw_url.scheme.lower()
|
||||||
if not scheme:
|
if not scheme:
|
||||||
|
|||||||
Reference in New Issue
Block a user