From 917bf461fe57b36a152c76e179e4f5a43f902069 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期三, 03 一月 2024 16:43:09 +0800
Subject: [PATCH] 开盘啦概念特殊词过滤

---
 code_attribute/code_volumn_manager.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/code_attribute/code_volumn_manager.py b/code_attribute/code_volumn_manager.py
index 6b6912e..c5a58f2 100644
--- a/code_attribute/code_volumn_manager.py
+++ b/code_attribute/code_volumn_manager.py
@@ -102,10 +102,10 @@
     max60, yesterday = get_histry_volumn(code)
     if max60 is None or yesterday is None:
         raise Exception("鑾峰彇澶辫触")
-    if max60[0] >= yesterday[0]:
+    if int(max60[0]) >= int(yesterday):
         return max60[1]
     else:
-        return yesterday[1]
+        return "涓婁釜浜ゆ槗鏃�"
 
 
 # 鑾峰彇閲忔瘮绱㈠紩

--
Gitblit v1.8.0