diff --git a/Scripts/py/EUserv_extend.py b/Scripts/py/EUserv_extend.py index 8ddcfc4..07abc1b 100644 --- a/Scripts/py/EUserv_extend.py +++ b/Scripts/py/EUserv_extend.py @@ -198,6 +198,8 @@ 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: + TG_API_HOST = "api.telegram.org" data = ( ('chat_id', TG_USER_ID), ('text', 'EUserv续费日志\n\n' + desp)