diff --git a/app.py b/app.py index 14078cd..eae399a 100644 --- a/app.py +++ b/app.py @@ -85,15 +85,15 @@ def index(): sum = str(gesamtwert) + "0" # summarize items - if wertfloat == 5.8: + if wertfloat == 4.9: item1 += 1 if wertfloat == 4.8: item2 += 1 if wertfloat == 3.3: item3 += 1 - if wertfloat == 8.8: + if wertfloat == 4.5: item4 += 1 - if wertfloat == 5.5: + if wertfloat == 5: item5 += 1 if wertfloat == .2: item6 += 1 diff --git a/templates/index.html b/templates/index.html index 378fb5b..b0694db 100644 --- a/templates/index.html +++ b/templates/index.html @@ -87,13 +87,13 @@