From a723ccf2f81f3ca249152d292107e654aa1ee63a Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Mon, 6 May 2024 23:06:04 +0200 Subject: [PATCH] Fixed scale --- src/endpoints/handlers/bett.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoints/handlers/bett.py b/src/endpoints/handlers/bett.py index 203c4a1..d593fb5 100644 --- a/src/endpoints/handlers/bett.py +++ b/src/endpoints/handlers/bett.py @@ -84,7 +84,7 @@ def check_for_change(): global show_scale_countdown latest = local_history[-1] if show_scale_countdown > 0 and show_scale_countdown % 3 == 0: - show_scale(latest["total"]) + show_scale(latest["total"] - empty_weight) show_scale_countdown -= 1 # Is triggered?