chore: sync local edits after rebase
This commit is contained in:
1 parent
43e39f4db6
commit
134883b674
1 file changed
+10
-7
@@ -2182,7 +2182,9 @@ class fudai_analyse:
|
||||
self.operation.delay(1.0) # 等待返回完成
|
||||
except Exception as exc_inner:
|
||||
self._log_kv(
|
||||
"粉丝团处理", "点击返回直播间失败", error=str(exc_inner)
|
||||
"粉丝团处理",
|
||||
"点击返回直播间失败",
|
||||
error=str(exc_inner),
|
||||
)
|
||||
except Exception:
|
||||
pass
|
||||
@@ -2210,7 +2212,9 @@ class fudai_analyse:
|
||||
)
|
||||
self.operation.delay(1.0) # 等待返回完成
|
||||
except Exception as exc_inner2:
|
||||
self._log_kv("粉丝团处理", "点击返回直播间失败", error=str(exc_inner2))
|
||||
self._log_kv(
|
||||
"粉丝团处理", "点击返回直播间失败", error=str(exc_inner2)
|
||||
)
|
||||
|
||||
# 延迟后返回,让主循环继续处理
|
||||
self.operation.delay(0.5)
|
||||
@@ -2501,7 +2505,9 @@ class fudai_analyse:
|
||||
and len(detail) >= 6
|
||||
):
|
||||
# detail 已校验为 tuple 且长度足够,可直接索引读取倒计时信息
|
||||
countdown_tuple = detail[5] # pylint: disable=unsubscriptable-object
|
||||
countdown_tuple = detail[
|
||||
5
|
||||
] # pylint: disable=unsubscriptable-object
|
||||
if (
|
||||
isinstance(countdown_tuple, (tuple, list))
|
||||
and len(countdown_tuple) >= 2
|
||||
@@ -3110,10 +3116,7 @@ class fudai_analyse:
|
||||
if isinstance(detail, tuple) and len(detail) >= 6:
|
||||
d_cast: Tuple[Any, ...] = cast(Tuple[Any, ...], detail)
|
||||
countdown_tuple = d_cast[5]
|
||||
if (
|
||||
isinstance(countdown_tuple, (tuple, list))
|
||||
and len(countdown_tuple) >= 2
|
||||
):
|
||||
if isinstance(countdown_tuple, (tuple, list)) and len(countdown_tuple) >= 2:
|
||||
future_ts = float(countdown_tuple[1] or 0.0)
|
||||
if future_ts > 0:
|
||||
self._current_fudai_future_ts = future_ts
|
||||
|
||||
Reference in new issue
Block a user