From d3f0ac658505a505d2f5eb930ca58ad757fed16c Mon Sep 17 00:00:00 2001 From: Francesco Luzzana Date: Wed, 6 Apr 2022 19:15:13 +0200 Subject: [PATCH] opss list length --- screenless/bureau/soup/soup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))]