From c252ce4a6e02833afeb6d10b435f273026589a93 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 12 Dec 2025 18:11:32 +0800 Subject: [PATCH] fwefwf --- 交易/websea_交易.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/交易/websea_交易.py b/交易/websea_交易.py index 6e64f21..f7d0f41 100644 --- a/交易/websea_交易.py +++ b/交易/websea_交易.py @@ -339,10 +339,8 @@ class WeexTransaction: time.sleep(10) continue - if self.kline_3: - # 判断抓取的数据是否正确 - if self.get_now_time() == self.kline_3["id"]: - continue + if self.kline_3 and self.get_now_time() == self.kline_3["id"]: + continue new_price_datas = self.get_price() if not new_price_datas: