fix title-body order for the last time

This commit is contained in:
Eshan Ramesh 2020-05-19 17:14:46 -04:00
parent 8f39b12198
commit d2b4ae9951

View file

@ -266,5 +266,5 @@ def split_title(text):
if not sep:
sep = SENTENCE_SPLITTER.search(text)
if not sep:
return "", text
return text,""
return text[: sep.end()].strip(), text[sep.end() :].strip()