From 0c0033e5b6edc97d3983cfd2ea274eb0eab8d6de Mon Sep 17 00:00:00 2001 From: "andrew (from workstation)" Date: Fri, 16 Oct 2020 22:24:30 +0200 Subject: [PATCH] fixes --- __main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__main__.py b/__main__.py index 5cdabb7..264db77 100644 --- a/__main__.py +++ b/__main__.py @@ -37,7 +37,7 @@ def split_docs(docs: typing.List[str]) -> typing.List[str]: else: result.append(token) - if len(result) > 1 and len(result[1]) < 3: + if len(result) > 1 and len(result[1].split(" ")) < 3: result[-2] += f" {result[-1]}" del result[-1]