优化提示

This commit is contained in:
Jalin
2019-01-11 12:22:57 +08:00
parent 48a1f6a06a
commit 111541a1e8
2 changed files with 2 additions and 2 deletions

View File

@@ -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()

View File

@@ -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__()