botanirc

botany as an irc bot
git clone git://shroom.party/botanirc.git
Log | Files | Refs | README | LICENSE

commit 0b714a2d433915f59f62350a03de3e1fb370c925
parent 116a82a51e2f3ab3a8ac2739d8f2d978ef6cb354
Author: tx <trqx@goat.si>
Date:   Wed, 13 Feb 2019 09:49:28 +0100

update last_dry even outside of refill

Diffstat:
Mbotanirc.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/botanirc.py b/botanirc.py @@ -316,6 +316,7 @@ class Plant: # alreay dry? if self.dry_since and self.water <= 0: + self.last_dry = datetime.now() return # not dry yet?