DmitrMakeev commited on
Commit
7ee1393
·
verified ·
1 Parent(s): 2431dc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
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