From 14df02de103534e0e286937ce97c64f5291d56a0 Mon Sep 17 00:00:00 2001 From: pengtao Date: Tue, 17 Sep 2019 16:47:18 +0800 Subject: [PATCH] =?UTF-8?q?info=20key=E5=88=B7=E6=96=B0=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/reflush_ad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/reflush_ad.py b/handler/reflush_ad.py index 006d007..c1a90b0 100644 --- a/handler/reflush_ad.py +++ b/handler/reflush_ad.py @@ -31,7 +31,7 @@ class RelushADinfo(Resource): pdb.set_trace() if locationid: need_change_keys = set() - key_word = f"ad::*_{locationid}::*::{locationid}" + key_word = f"ad::*_{locationid}*::*::{locationid}" adlists = my_redis.keys(key_word) if adlists: for key in adlists: