Skip to content

Commit 486331e

Browse files
committed
Merge remote-tracking branch 'origin/fix1' into fix1
2 parents 8fcda62 + 4f9b22a commit 486331e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker Image CI
22

33
on:
44
push:
5-
branches: [ "master", "main" ]
5+
branches: [ "master", "main", "fix1" ]
66
# 当发布新版本时触发
77
tags: [ 'v*.*.*' ]
88
pull_request:
@@ -66,4 +66,4 @@ jobs:
6666
labels: ${{ steps.meta.outputs.labels }}
6767
platforms: linux/amd64,linux/arm64
6868
cache-from: type=gha
69-
cache-to: type=gha,mode=max
69+
cache-to: type=gha,mode=max

src/core/register.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,8 @@ def _register_password(self) -> Tuple[bool, Optional[str]]:
398398
self._log(f"提交密码状态: {response.status_code}")
399399

400400
if response.status_code != 200:
401-
self._log(f"密码注册失败: {response.json().get("error", {}).get("message", '')}", "warning")
401+
self._log(f"密码注册失败: {response.json().get('error', {}).get('message', '')}", "warning")
402+
402403

403404
# 解析错误信息,判断是否是邮箱已注册
404405
try:

0 commit comments

Comments
 (0)