From 090325aafa9a819cf1e734180f293f60fd678007 Mon Sep 17 00:00:00 2001 From: stanislas Date: Tue, 20 May 2025 01:07:17 +0200 Subject: [PATCH] refacto --- main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.py b/main.py index 9949ccc..daa6b26 100644 --- a/main.py +++ b/main.py @@ -17,7 +17,6 @@ def main(): menu_file.write_bytes(menu_pdf) text = extract_text(menu_file, page_numbers=[0]) - # print(text) previous_was_title = False curated_text = "" @@ -37,16 +36,14 @@ def main(): curated_text += f"{line}\n" previous_was_title = False - print(curated_text) cells = curated_text.split("\n\n") # remove month month = cells.pop(0) # remove meals titles - meal = {} for i in range(5): - meal.update({i: cells.pop(0)}) + cells.pop(0) days = [] for i in range(5):