From 5d7316b1eebbc70d8961b1bb3ebea7109a799634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=9D=E5=B7=9D?= Date: Mon, 13 Dec 2021 09:56:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E8=AF=84=E4=BB=B7?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input/scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/scripts.py b/input/scripts.py index c1e3e99..3bf3abb 100644 --- a/input/scripts.py +++ b/input/scripts.py @@ -80,7 +80,7 @@ def rating_records_by_cid(cid): records: 企业的评价记录 """ records = find_rating_records({"企业ID": cid}) - records = [record.pop('企业ID') if records is not None else None for record in records] + [record.pop('企业ID') if records is not None else None for record in records] return records