From 2d6f8d8d683983e40492188a57c5d98fd959fd6b Mon Sep 17 00:00:00 2001 From: DingZQ Date: Wed, 19 Mar 2025 22:23:04 +0800 Subject: [PATCH] Refine --- auto_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_cache.py b/auto_cache.py index a137c94..32dcd26 100644 --- a/auto_cache.py +++ b/auto_cache.py @@ -15,7 +15,7 @@ def query_all_records_by_date_with_type_flow(date: str): def auto_cache_data(): - redis_client = redis.redis(host='localhost', port=6379, db=0) + redis_client = redis.Redis(host='localhost', port=6379, db=0) items = ['queryallrecordsbydatewithtype_[DATE]_flow']