镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-06 06:26:47 +00:00
Local variable 'result' might be referenced before assignment, add else result
这个提交包含在:
@@ -12,6 +12,8 @@ def check_proxy(proxies):
|
|||||||
result = f"代理配置 {proxies_https}, 代理所在地:{country}"
|
result = f"代理配置 {proxies_https}, 代理所在地:{country}"
|
||||||
elif 'error' in data:
|
elif 'error' in data:
|
||||||
result = f"代理配置 {proxies_https}, 代理所在地:未知,IP查询频率受限"
|
result = f"代理配置 {proxies_https}, 代理所在地:未知,IP查询频率受限"
|
||||||
|
else:
|
||||||
|
result = f"代理配置 {proxies_https}, 代理数据解析失败:{data}"
|
||||||
print(result)
|
print(result)
|
||||||
return result
|
return result
|
||||||
except:
|
except:
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户