From bfc0dbbecbe44ae78dd48d63b331b19e18ea6053 Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Tue, 1 Feb 2022 00:43:27 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=A8=20#3=20Fix=20TikTok=20Parse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TikTok_EN.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TikTok_EN.py b/TikTok_EN.py index 8ab6261..7d319a7 100644 --- a/TikTok_EN.py +++ b/TikTok_EN.py @@ -55,7 +55,7 @@ def valid_check(kou_ling): return None else: return 'Please make sure that the input links are all valid Douyin/TikTok links!' - elif kou_ling == 'wyn' or 'WYN': + elif kou_ling == 'wyn': return None else: return 'Douyin or TikTok share link is wrong!' @@ -490,7 +490,8 @@ def main(): placeholder=placeholder, position=0) if kou_ling: - if 'wyn' or 'WYN' in kou_ling: + if kou_ling == 'wyn': + # really miss you with popup('For WYN💖'): put_text('常见朋友们发一些浪漫的文案。') put_text('我想,')