From d297fa2cef139a45ddc4d7e873442b66a7b07854 Mon Sep 17 00:00:00 2001 From: Lunaresk Date: Mon, 20 Dec 2021 12:06:03 +0100 Subject: [PATCH] refactor --- client/src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.py b/client/src/main.py index f2bfd06..34d225b 100644 --- a/client/src/main.py +++ b/client/src/main.py @@ -166,7 +166,6 @@ def scanning(user: str) -> dict[int: int]: send_scan(user, scanned) def send_scan(user: str, scanned: dict[int: int], previous_scans: list[dict[any: any]] = None): - LOGGER.debug(previous_scans) if not previous_scans: previous_scans = [] if exists(TEMPFILE): @@ -189,6 +188,7 @@ def send_scan(user: str, scanned: dict[int: int], previous_scans: list[dict[any: jdump(previous_scans, file) elif exists(TEMPFILE): # if no scans remain, delete the json remove(TEMPFILE) + LOGGER.info(previous_scans) def split_codeid(scan: str, default_codeid: str = ""): match Barcode_CodeID.CODEID_POS: