From c93f9f243018b3fb7931c0e86ff581c5383395a4 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 15 七月 2024 10:01:50 +0800
Subject: [PATCH] bug修复

---
 main.py |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/main.py b/main.py
index c1abcb1..43e4ef1 100644
--- a/main.py
+++ b/main.py
@@ -404,9 +404,13 @@
             if result:
                 # (浠g爜, 鏈�杩戠殑浠锋牸, 娑ㄥ箙, 涔�1浠凤紝 涔�1閲�, 鎴愪氦鎬婚噺, 涔板叆閲�, 鍗栧嚭閲�, 鏄ㄦ棩鏀剁洏浠�, 鏃堕棿鎴�)
                 code_market_manager.set_market_info(result)
-                time_str = l2_huaxin_util.convert_time(result[9])
-                if int(time_str.split(":", "")) < int("092455"):
-                    continue
+                try:
+                    time_str = l2_huaxin_util.convert_time(result[9])
+                    logger_debug.debug("鏃堕棿锛歿}-{}", {result[9]}, time_str)
+                    if int(time_str.split(":", "")) < int("092455"):
+                        continue
+                except Exception as e:
+                    pass
                 code = result[0]
                 # 姝h偂闇�瑕佸姞杞芥澘鍧�
                 if code.find("11") != 0 and code.find("12") != 0:

--
Gitblit v1.8.0