From e5261b79b1c20476864a660a20b9614634b21c5a Mon Sep 17 00:00:00 2001 From: Jake Funke Date: Fri, 10 Aug 2018 20:14:11 +0000 Subject: [PATCH] fixed bug where users with live botany instances couldnt be watered --- botany.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botany.py b/botany.py index 874455b..5de8784 100755 --- a/botany.py +++ b/botany.py @@ -238,7 +238,7 @@ class Plant(object): if element['user'] not in visitors_this_check: visitors_this_check.append(element['user']) # prevent users from manually setting watered_time in the future - if element['timestamp'] < int(time.time()): + if element['timestamp'] <= int(time.time()): guest_timestamps.append(element['timestamp']) try: self.update_visitor_db(visitors_this_check)