From e07d2ef4ea598117ff0822fe4c328b73a7083c54 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Sun, 21 Jul 2024 00:45:18 +0200 Subject: [PATCH] close connection properly --- src/aliexpress.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/aliexpress.py b/src/aliexpress.py index 08f48ad..f4d8edf 100644 --- a/src/aliexpress.py +++ b/src/aliexpress.py @@ -165,6 +165,7 @@ def check_item(settings_item): except Exception as e: print(f"An error occurred: {e}") print("item not found") + driver.quit() return {} # discount percentage