From ad8665fcd8d454bc23b1fe858e319758af6a760f Mon Sep 17 00:00:00 2001 From: Leon <62660101+Oreomeow@users.noreply.github.com> Date: Wed, 25 Aug 2021 00:04:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=E4=BF=AE=E5=A4=8D=20TG=5FAPI=5FHOS?= =?UTF-8?q?T=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/py/EUserv_extend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/py/EUserv_extend.py b/Scripts/py/EUserv_extend.py index 07abc1b..dca4087 100644 --- a/Scripts/py/EUserv_extend.py +++ b/Scripts/py/EUserv_extend.py @@ -198,7 +198,7 @@ def push_plus(): # Telegram Bot Push https://core.telegram.org/bots/api#authorizing-your-bot def telegram(): - if TG_API_HOST == "" or TG_API_HOST == None: + if TG_API_HOST == "": TG_API_HOST = "api.telegram.org" data = ( ('chat_id', TG_USER_ID),