Skip to content

Commit

Permalink
fix: 修复ci打包 & format pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Hobr committed Sep 29, 2024
1 parent f10cff7 commit 3a72487
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
poetry config virtualenvs.in-project true --local
- name: Install Dependencies
run: poetry install
run: poetry install --with dev

- name: Package
run: poetry run pyinstaller --clean --noconfirm --log-level WARN cli.spec
Expand Down
2 changes: 1 addition & 1 deletion interface/CLI/setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def NoticeStep() -> tuple[bool, bool, bool, str]:
default=["系统提醒", "音频提醒"],
)
for i in select:
if i=="smtp":
if i == "smtp":
continue
dist[i] = True

Expand Down
2 changes: 1 addition & 1 deletion util/Notice/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def PushPlus(self, token: str) -> None:
"template": "html",
"channel": "wechat",
}

self.net.Response(method="post", url=url, params=data, isJson=False)

@logger.catch
Expand Down

0 comments on commit 3a72487

Please sign in to comment.