mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-10-30 12:50:18 +08:00
update
This commit is contained in:
1 parent
6b244e8be6
commit
1cf68bad44
1 file changed
+1
-1
+1
-1
@@ -84,7 +84,7 @@ def cut_trailing_sentence(text):
|
||||
|
||||
act_token = text.find(">")
|
||||
if act_token != -1:
|
||||
last_punc = min(last_punc, act_token+1)
|
||||
last_punc = min(last_punc, act_token-1)
|
||||
|
||||
if last_punc > 0:
|
||||
text = text[0:last_punc+1]
|
||||
|
||||
Reference in new issue
Block a user