fix logging error
Marco Andronaco andronacomarco@gmail.com
Sat, 10 Sep 2022 01:16:15 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
main.py
→
main.py
@@ -99,7 +99,7 @@ "image": image_content
} } - logging.info(f"User {update.message.from_user.full_name} (@{update.message.from_user.username}) typed: {str(update.message.text)}") + logging.info(f"User {update.message.from_user.full_name}{f' (@{update.message.from_user.username})' if update.message.from_user.username is not None else ''} typed: {str(update.message.text)}") content = check_fn(info_struct)