From 19161b872cfe58b51ad0829631b6cdb7c1998024 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 10 Mar 2025 13:52:44 -0400 Subject: [PATCH] add sleeps back --- SullyGnomeRobot.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/SullyGnomeRobot.py b/SullyGnomeRobot.py index 34f355b..80a2dc2 100644 --- a/SullyGnomeRobot.py +++ b/SullyGnomeRobot.py @@ -16,7 +16,7 @@ def download(url): opts = FirefoxOptions() -## opts.add_argument("--headless") + opts.add_argument("--headless") driver=webdriver.Firefox(options=opts) @@ -110,10 +110,6 @@ def download(url): break - - - - print("checking is file exists... [loop]") existsAlreadyVersionOne = DiskUtils.check_download_exists_matching_url_version_one(url) @@ -124,9 +120,9 @@ def download(url): print(f"The file matching the url '{url}' DOES INDEED exists. (version 1)") -## print("sleeping for 4 secs before shutting down robot") -## -## time.sleep(4) + print("sleeping for 4 secs before shutting down robot") + + time.sleep(4) print("shutting down the robot") @@ -152,6 +148,4 @@ def download(url): ########################################## - - print(f"complete -> SullyGnomeRobot -> download() -> {url}")