make black happy again

This commit is contained in:
Eshan Ramesh 2020-05-19 17:25:20 -04:00
parent d2b4ae9951
commit d5a09bd6d7

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()