mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
update
This commit is contained in:
+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