From 1779517c0fb015ef363dcef57af3ddfaf2a781be Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Mon, 6 May 2024 22:58:43 +0200 Subject: [PATCH] Added more logging --- src/endpoints/handlers/bett.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/endpoints/handlers/bett.py b/src/endpoints/handlers/bett.py index 1c66bdf..1c5d12e 100644 --- a/src/endpoints/handlers/bett.py +++ b/src/endpoints/handlers/bett.py @@ -90,6 +90,7 @@ def check_for_change(): # Is triggered? delta = latest["total"] - local_history[-2]["total"] if math.abs(delta) < min_noticable_difference: + logging.info(f"Delta: {delta}") return # Changed weight up or down?