From ec1497eef55270e94a92530b390b723d20706eeb Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 22 Nov 2024 20:55:08 +0100 Subject: [PATCH] Removed confirmation message. Yolo. --- pdf2text | 3 --- 1 file changed, 3 deletions(-) diff --git a/pdf2text b/pdf2text index 53851b1..bb027f1 100755 --- a/pdf2text +++ b/pdf2text @@ -25,9 +25,6 @@ if not source_path.exists(): raise Exception(f"{source_path.absolute()} does not exist.") print("This script will convert all your pdf files to txt files in the same directory.") -if input("Continue? [Y/n]: ").strip().lower() in ["n", "no"]: - print("Operation cancelled.") - exit(0) for file in pathlib.Path(source_path).glob("*.pdf"):