adding newline character to message text to improve readability

Signed-off-by: klux2 <k.lux.gm@gmail.com>
This commit is contained in:
klux2 2019-07-04 13:43:19 +02:00
parent 4946837240
commit cc6ebfdc2a

View file

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