隐秘战线处理route_matcher匹配失败的情况
This commit is contained in:
parent
33d7a537cd
commit
1acd322cb1
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,8 @@ class SecretFront(SceneGraphSolver):
|
||||||
if self.route_matcher is None:
|
if self.route_matcher is None:
|
||||||
return None
|
return None
|
||||||
score, scope = self.route_matcher.match2d(title)
|
score, scope = self.route_matcher.match2d(title)
|
||||||
|
if scope is None:
|
||||||
|
return None
|
||||||
pos_x = scope[0][0]
|
pos_x = scope[0][0]
|
||||||
if pos_x < 800:
|
if pos_x < 800:
|
||||||
page_number = 0
|
page_number = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue