增加IOS渠道参数的判断
This commit is contained in:
parent
597636d050
commit
414632b354
4
app.py
4
app.py
@ -55,7 +55,9 @@ def run():
|
|||||||
if event_name not in settings.legu_to_sm_event:
|
if event_name not in settings.legu_to_sm_event:
|
||||||
continue
|
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
|
continue
|
||||||
|
|
||||||
idx += 1
|
idx += 1
|
||||||
|
@ -49,7 +49,7 @@ for i in range(len(dates) - 1):
|
|||||||
if event_name not in settings.legu_to_sm_event:
|
if event_name not in settings.legu_to_sm_event:
|
||||||
continue
|
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
|
continue
|
||||||
|
|
||||||
send_data = copy.deepcopy(settings.template_data)
|
send_data = copy.deepcopy(settings.template_data)
|
||||||
|
Loading…
Reference in New Issue
Block a user