From 28d9eb5231020846cc9ccaa651f996333280c83b Mon Sep 17 00:00:00 2001 From: Shadow15510 Date: Thu, 5 Jan 2023 15:26:10 +0100 Subject: [PATCH] Minor fix --- asci.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/asci.py b/asci.py index f1c6491..3e31ba2 100644 --- a/asci.py +++ b/asci.py @@ -1,4 +1,4 @@ -# Asci (1.9.2) +# Asci (1.9.3) from math import floor, ceil SCREEN_WIDTH = 21 @@ -263,7 +263,7 @@ class Screen: print("\n" * SCREEN_HEIGHT) def display_text(self, string): - paragraphs = [i for i in text_formater(string, SCREEN_WIDTH, SCREEN_HEIGHT) if i] + paragraphs = [i for i in text_formater(string) if i] nb_par = len(paragraphs) for index in range(nb_par): self.clear() @@ -501,4 +501,4 @@ def center(string, total_length, symbol): def enumerate(data): - return [(i, data[i]) for i in range(len(data))] + return [(i, data[i]) for i in range(len(data))] \ No newline at end of file