隐秘战线处理route_matcher匹配失败的情况

This commit is contained in:
zhbaor 2024-10-24 10:29:19 +08:00
parent 33d7a537cd
commit 1acd322cb1

View file

@ -162,6 +162,8 @@ class SecretFront(SceneGraphSolver):
if self.route_matcher is None:
return None
score, scope = self.route_matcher.match2d(title)
if scope is None:
return None
pos_x = scope[0][0]
if pos_x < 800:
page_number = 0