diff --git a/screenless/bureau/soup/soup.py b/screenless/bureau/soup/soup.py index 9108908..95c4436 100644 --- a/screenless/bureau/soup/soup.py +++ b/screenless/bureau/soup/soup.py @@ -117,7 +117,7 @@ class Soup(Bureau): text_a_cursor = 0 text_b_cursor = 0 - length = len(list_a) + len(list_b) + length = len(list_a) + len(list_b) - 2 repeated_pattern = (self.pattern * (length // len(self.pattern)) ) + self.pattern[:(length % len(self.pattern))]