From dfc64266b9d96108a7b40fb4b58d70d9a36f2f8b Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Wed, 20 Jan 2021 00:30:54 -0800 Subject: [PATCH] Fix missed instances of ctx.ui_node.log_info --- MultiClient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MultiClient.py b/MultiClient.py index 9ce11dad..c2c9664d 100644 --- a/MultiClient.py +++ b/MultiClient.py @@ -1164,7 +1164,7 @@ async def track_locations(ctx : Context, roomid, roomdata): new_check(my_check) except Exception as e: print(e) - ctx.ui_node.log_info(f"Exception: {e}") + logger.info(f"Exception: {e}") for location, (loc_roomid, loc_mask) in location_table_uw.items(): @@ -1228,7 +1228,7 @@ async def track_locations(ctx : Context, roomid, roomdata): new_locations.append(my_id) except Exception as e: print(e) - ctx.ui_node.log_info(f"Exception: {e}") + logger.info(f"Exception: {e}") await ctx.send_msgs([['LocationChecks', new_locations]])