pull/42/head
wenxianping 2018-08-31 10:26:59 +08:00
parent a3d4fed532
commit bbee85ff1b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def getRandCode(is_auto_code, auto_code_type):
print(u"打码兔已关闭, 如需使用自动识别,请使用如果平台 auto_code_type == 2")
return
if auto_code_type == 2:
rc = RClient(_get_yaml()["auto_code_account"]["uesr"], _get_yaml()["auto_code_account"]["pwd"])
rc = RClient(_get_yaml()["auto_code_account"]["user"], _get_yaml()["auto_code_account"]["pwd"])
im = open('./tkcode', 'rb').read()
Result = rc.rk_create(im, 6113)
if "Result" in Result: