From f331c70454e858e8a3882eb3cd550c09cd4b872d Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 23 Sep 2023 17:48:30 +0800 Subject: [PATCH] Update database_caller.py --- database_caller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database_caller.py b/database_caller.py index a97fca1..138ed56 100755 --- a/database_caller.py +++ b/database_caller.py @@ -1917,7 +1917,7 @@ if __name__ == '__main__': quotes_time = datetime.strptime(last_updates['quotes']['time'], "%d/%m/%Y %H:%M:%S") NY_time = datetime.now(NY_zone).replace(tzinfo=None) - diff = (NY_time - jokes_time).total_seconds()/60 #minutes + diff = (NY_time - quotes_time).total_seconds()/60 #minutes if last_updates['quotes']['force'] or diff >= update_frequencies['quotes']:# or msg == 'c': quotes_time = NY_time.strftime("%d/%m/%Y %H:%M:%S")