From 414632b35466f34ffa834cd71b6f9fd6e9c641f8 Mon Sep 17 00:00:00 2001 From: wucao <2787668634@qq.com> Date: Thu, 30 Dec 2021 19:40:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0IOS=E6=B8=A0=E9=81=93?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 4 +++- resend.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index fe311cd..0ea4698 100644 --- a/app.py +++ b/app.py @@ -55,7 +55,9 @@ def run(): if event_name not in settings.legu_to_sm_event: continue - if 'shoumeng' not in (data.get('owner_name') or ''): + # if 'shoumeng' not in (data.get('owner_name') or ''): + # continue + if 'shoumeng' not in data.get('owner_name') or 'smios' not in data.get('owner_name') or 'shouios' not in data.get('owner_name'): continue idx += 1 diff --git a/resend.py b/resend.py index 686b4af..5cff8d8 100644 --- a/resend.py +++ b/resend.py @@ -49,7 +49,7 @@ for i in range(len(dates) - 1): if event_name not in settings.legu_to_sm_event: continue - if 'shoumeng' not in data.get('owner_name'): + if 'shoumeng' not in data.get('owner_name') or 'smios' not in data.get('owner_name') or 'shouios' not in data.get('owner_name'): continue send_data = copy.deepcopy(settings.template_data)