优化提示
This commit is contained in:
@@ -52,7 +52,7 @@ class AuthCode:
|
||||
result = response.json()
|
||||
if result.get('image'):
|
||||
return result.get('image')
|
||||
raise SSLError
|
||||
raise SSLError('返回数据为空')
|
||||
except SSLError as e:
|
||||
UserLog.add_quick_log(
|
||||
UserLog.MESSAGE_DOWNLAOD_AUTH_CODE_FAIL.format(e, self.retry_time)).flush()
|
||||
|
||||
@@ -23,7 +23,7 @@ class CommonLog(BaseLog):
|
||||
|
||||
MESSAGE_TEST_SEND_VOICE_CODE = '正在测试发送语音验证码...'
|
||||
|
||||
MESSAGE_CONFIG_FILE_DID_CHANGED = '配置文件已修改,正在重新加载中'
|
||||
MESSAGE_CONFIG_FILE_DID_CHANGED = '配置文件已修改,正在重新加载中\n'
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
Reference in New Issue
Block a user