From 1376301cb5f96c97d5232375573f837d52e4a37b Mon Sep 17 00:00:00 2001 From: apoleon33 Date: Wed, 6 Jul 2022 16:56:00 +0200 Subject: [PATCH] AttributeError: 'Plante' object has no attribute 'ideal_water' --- src/algorithm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithm.py b/src/algorithm.py index a3d4697..224ba96 100644 --- a/src/algorithm.py +++ b/src/algorithm.py @@ -15,7 +15,7 @@ def __init__(self, name): file[self.name]["temperature"]["été"] ] - self.ideal_humidity = [ + self.ideal_water = [ file[self.name]["eau"]["hiver"], file[self.name]["eau"]["été"] ]