From e5f82190bde394d4581f309a813f2d84c194b190 Mon Sep 17 00:00:00 2001 From: jerryliang Date: Mon, 20 Feb 2023 16:54:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=85=B3=E9=97=ADwindows=20defender?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-windows-exe.yml | 4 ++++ .github/workflows/build-windows-executable-main.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build-windows-exe.yml b/.github/workflows/build-windows-exe.yml index a67ab0d..b8b5dd7 100644 --- a/.github/workflows/build-windows-exe.yml +++ b/.github/workflows/build-windows-exe.yml @@ -15,6 +15,10 @@ jobs: with: python-version: 3.9 + - name: Disable Windows Defender + run: | + Set-MpPreference -DisableRealtimeMonitoring $true + - name: Install dependencies run: | pip install --upgrade pip diff --git a/.github/workflows/build-windows-executable-main.yml b/.github/workflows/build-windows-executable-main.yml index e95640b..e796398 100644 --- a/.github/workflows/build-windows-executable-main.yml +++ b/.github/workflows/build-windows-executable-main.yml @@ -11,6 +11,10 @@ jobs: steps: - uses: actions/checkout@v2 + + - name: Disable Windows Defender + run: | + Set-MpPreference -DisableRealtimeMonitoring $true - name: Setup Python uses: actions/setup-python@v2 From 16bd52a5d0e83958c8758cc6e872829102fd4abe Mon Sep 17 00:00:00 2001 From: jerryliang Date: Wed, 22 Feb 2023 12:00:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E3=80=82=E4=BB=A5=E9=81=BF=E5=85=8D=E8=AF=AF?= =?UTF-8?q?=E4=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- work/inquiry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/work/inquiry.py b/work/inquiry.py index 051dbc2..2e93b7d 100644 --- a/work/inquiry.py +++ b/work/inquiry.py @@ -190,7 +190,7 @@ def send_email(self): # 获取询价编号 inquiry_number = self.main_window.inquiry_number.text() # 设计邮件主题 - subject = f"{clause} == {inquiry_number}" + subject = f"Inquiry {clause} price == {inquiry_number}" # 从listview中获取选中代理信息 selected_indexes = self.main_window.daili_list.selectedIndexes() # 获取模板