From ac0ca014ae1f919f0498e7837dfbb8fa422eb71b Mon Sep 17 00:00:00 2001 From: Dazed Date: Sun, 9 Apr 2023 19:34:01 -0500 Subject: [PATCH] feat: Add input so cli doesn't close immediately --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index cb897ff..474834d 100644 --- a/main.py +++ b/main.py @@ -44,6 +44,9 @@ def main(): # This is to encourage people to grab what's in /translated instead #deleteFolderFiles('files') + # Prevent immediately closing of CLI + input('Done! Press any button to close.') + def deleteFolderFiles(folderPath): for filename in os.listdir(folderPath): file_path = os.path.join(folderPath, filename)