code style meet standard

pull/633/head
Renzhi 2019-12-26 17:28:15 +08:00
parent 93c6db471c
commit e315abb586
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ def getRandCode(is_auto_code, auto_code_type, result):
Result = v.verify(result)
return codexy(Ofset=Result, is_raw_input=False)
elif auto_code_type == 3:
'CAPTCHALOCAL' not in os.environ and print("您已设置使用云打码,但是服务器资源有限,请尽快改为本地打码")
print("您已设置使用云打码,但是服务器资源有限,请尽快改为本地打码" if "CAPTCHALOCAL" not in os.environ else "已设置本地打码服务器")
http = HTTPClient(0)
Result = http.send(urls.get("autoVerifyImage"), {"imageFile": result})
if Result and Result.get("code") is 0: