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 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() # 获取模板