From f60feaa717fb60bb1085e3c8759289da2fb70515 Mon Sep 17 00:00:00 2001 From: extreme4all <40169115+extreme4all@users.noreply.github.com> Date: Sun, 17 Mar 2024 17:47:36 +0100 Subject: [PATCH] more debugging --- src/api/v1/report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/v1/report.py b/src/api/v1/report.py index be09832..3d41fca 100644 --- a/src/api/v1/report.py +++ b/src/api/v1/report.py @@ -278,10 +278,11 @@ async def insert_report( # Get IDs for all unique valid names data = await sql_select_players(valid_names) logger.debug(f"Found players before insert: {len(data)}") + logger.debug(f"{data=}") # Create entries for players that do not yet exist in Players table existing_names = [d["normalized_name"] for d in data] - logger.debug(f"{existing_names=}") + logger.debug(f"{existing_names=}") # [NONE, NONE] new_names = set([name for name in valid_names]).difference(existing_names) logger.debug(f"{new_names=}")