Fixed scale
This commit is contained in:
parent
139f2f6427
commit
2eaa5fd14e
1 changed files with 3 additions and 2 deletions
|
@ -84,7 +84,8 @@ def check_for_change():
|
|||
global show_scale_countdown
|
||||
global empty_weight
|
||||
latest = local_history[-1]
|
||||
if show_scale_countdown > 0 and show_scale_countdown % 3 == 0:
|
||||
if show_scale_countdown > 0:
|
||||
if show_scale_countdown % 3 == 0:
|
||||
show_scale(latest["total"] - empty_weight)
|
||||
show_scale_countdown -= 1
|
||||
elif show_scale_countdown == 0:
|
||||
|
|
Loading…
Reference in a new issue