From fd14e20780e2c7fc86b1d8627f26cebf791a8597 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 17 十一月 2023 09:38:47 +0800
Subject: [PATCH] bug修复

---
 l2/l2_sell_manager.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/l2/l2_sell_manager.py b/l2/l2_sell_manager.py
index 4fee735..2bf0544 100644
--- a/l2/l2_sell_manager.py
+++ b/l2/l2_sell_manager.py
@@ -84,7 +84,7 @@
         if int(time_str.replace(":", "")) > int(cuurent[0].replace(":", "")):
             return cuurent
         last = self.__last_total_sell_data_cache.get(code)
-        if int(time_str.replace(":", "")) > int(last[0].replace(":", "")):
+        if last and int(time_str.replace(":", "")) > int(last[0].replace(":", "")):
             return last
         return None
 

--
Gitblit v1.8.0