From 70f149868132d00c5a1cc023852c4f4b160dd78f Mon Sep 17 00:00:00 2001 From: pengtao Date: Sun, 29 Sep 2019 11:58:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BC=93=E5=AD=98=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=94=9F=E6=88=90=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ops/ad_produce.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ops/ad_produce.py b/ops/ad_produce.py index 189c178..67cdcf3 100644 --- a/ops/ad_produce.py +++ b/ops/ad_produce.py @@ -92,7 +92,6 @@ def produce_task(): data = mydb.query(get_data_sql) if data: - print(f"get {data}") for line in data: if line: try: @@ -123,9 +122,9 @@ def produce_task(): log.error("split data failed", exc_info=True) # 检查ID是否存在播放列表中,以及播放次数是否完毕 if all: - print(f"all={all}") for line in all: if line: + print(f"line={line}") try: locationids = json.loads(line.get('locationid')) for locationid in str(locationids).strip('[]').split(','):