From 9039563a3c2e1349b0f71003f8a3f0b793924e82 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 22 十二月 2023 16:54:27 +0800
Subject: [PATCH] bug修复

---
 third_data/kpl_api.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/third_data/kpl_api.py b/third_data/kpl_api.py
index 187eff3..3cd00c4 100644
--- a/third_data/kpl_api.py
+++ b/third_data/kpl_api.py
@@ -142,7 +142,7 @@
     result = json.loads(result)
     if result:
         if "List" in result:
-            names = [x["CName"] for x in result["List"]]
+            names = [x["CName"].replace("姒傚康", "") for x in result["List"]]
             return names
     return []
 
@@ -154,7 +154,7 @@
     result = json.loads(result)
     if result:
         if "List" in result:
-            names = [x["CName"] for x in result["List"]]
+            names = [x["CName"].replace("姒傚康", "") for x in result["List"]]
             return names
     return []
 
@@ -176,7 +176,6 @@
     except:
         pass
     return list(set(blocks))
-
 
 
 if __name__ == "__main__":

--
Gitblit v1.8.0