From be4237dad6c0fd4baa3d327e3cf9d88af35c7fbb Mon Sep 17 00:00:00 2001 From: hyejiyu Date: Tue, 24 Sep 2024 03:45:03 +0900 Subject: [PATCH] added import modules --- messagequeue/consumer/homeplus_consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messagequeue/consumer/homeplus_consumer.py b/messagequeue/consumer/homeplus_consumer.py index b8d9e53..84614ab 100644 --- a/messagequeue/consumer/homeplus_consumer.py +++ b/messagequeue/consumer/homeplus_consumer.py @@ -40,7 +40,7 @@ def reset_timer(): start = time.time() current_date = datetime.datetime.now().strftime('%Y-%m-%d') -KST = timezone(timedelta(hours=9)) +KST = datetime.timezone(datetime.timedelta(hours=9)) now_hour = datetime.datetime.now(KST)[11:13] timer = None