From 4d2dd3460f9fc1f54f99ee86627cdc65a2bd3427 Mon Sep 17 00:00:00 2001 From: Mohd Arsh Ali Date: Sun, 25 Sep 2022 15:02:44 +0430 Subject: [PATCH] Update screen_shot.py --- scripts/Screen_Shot/screen_shot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Screen_Shot/screen_shot.py b/scripts/Screen_Shot/screen_shot.py index f2a1410..ac76c97 100644 --- a/scripts/Screen_Shot/screen_shot.py +++ b/scripts/Screen_Shot/screen_shot.py @@ -5,7 +5,7 @@ def screenshot_fun(): print("Screenshot program runs on console\nchange the sleep time if you can the screenshot captured the terminal also") sleepTimer = 2 print(f"You've {sleepTimer} to minimize the terminal window") - sleep(2) + sleep(sleepTimer) print("Captured the screen now") screenshot_img = pyautogui.screenshot() screenshot_img.save("screen.png")