🔨修复 TG_API_HOST 问题

This commit is contained in:
Leon 2021-08-25 00:04:04 +08:00 committed by GitHub
parent 7b243908aa
commit ad8665fcd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),