Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -890,10 +890,7 @@ class NutrientCalculator:
|
|
890 |
share = candidate['weight'] / total_weight
|
891 |
ppm_to_apply = needed * share
|
892 |
self._apply(candidate['name'], element, ppm_to_apply)
|
893 |
-
})
|
894 |
|
895 |
-
if not candidates:
|
896 |
-
raise ValueError(f"Нет удобрений для элемента {element}")
|
897 |
|
898 |
|
899 |
|
|
|
890 |
share = candidate['weight'] / total_weight
|
891 |
ppm_to_apply = needed * share
|
892 |
self._apply(candidate['name'], element, ppm_to_apply)
|
|
|
893 |
|
|
|
|
|
894 |
|
895 |
|
896 |
|