mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
notify: update
This commit is contained in:
parent
b6f6ef6472
commit
71faa02d6b
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ class MessageStatus(Enum):
|
|||
|
||||
|
||||
def send_message(text: str, silent: bool = False, status: MessageStatus = "ERROR") -> None:
|
||||
return True
|
||||
# return True
|
||||
if not config.TELEGRAM_BOT_TOKEN or not config.TELEGRAM_ADMIN_ID:
|
||||
logger.warning("Can't send log messages, because of lack of some informations. Ignore....")
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue