adding newline character to message text to improve readability
Signed-off-by: klux2 <k.lux.gm@gmail.com>
This commit is contained in:
parent
4946837240
commit
cc6ebfdc2a
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ async def send_status(text: str, ignore_flag: bool = False) -> None:
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
global config_ids
|
global config_ids
|
||||||
message_log.write(text)
|
message_log.write(text + "\n")
|
||||||
if ignore_flag or logging_enabled:
|
if ignore_flag or logging_enabled:
|
||||||
for chat_id in config_ids:
|
for chat_id in config_ids:
|
||||||
await send_message(bot_obj=bot, chat_id=chat_id, msg=text)
|
await send_message(bot_obj=bot, chat_id=chat_id, msg=text)
|
||||||
|
|
Loading…
Reference in a new issue