Fixed exception on start up

This commit is contained in:
Maximilian Giller 2024-05-07 00:03:31 +02:00
parent cf4894e0ba
commit 4fb7c8b461

View file

@ -81,6 +81,9 @@ def check_for_change():
logging.info(f"Capacity reached")
return
if len(local_history) < 2:
return
global show_scale_countdown
global empty_weight
latest = local_history[-1]