Skip to content

Commit

Permalink
Merge pull request #11 from jerryliang122/inquiry
Browse files Browse the repository at this point in the history
v1.3
  • Loading branch information
jerryliang122 authored Feb 22, 2023
2 parents d39e4f5 + 16bd52a commit 3740534
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build-windows-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-windows-executable-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion work/inquiry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
# 获取模板
Expand Down

0 comments on commit 3740534

Please sign in to comment.