Skip to content

Commit

Permalink
code style meet standard
Browse files Browse the repository at this point in the history
  • Loading branch information
Renzhi committed Dec 26, 2019
1 parent 93c6db4 commit e315abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inter/GetRandCode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e315abb

Please sign in to comment.