close connection properly

This commit is contained in:
Sam Hadow 2024-07-21 00:45:18 +02:00
parent 73d4101325
commit e07d2ef4ea

View File

@ -165,6 +165,7 @@ def check_item(settings_item):
except Exception as e: except Exception as e:
print(f"An error occurred: {e}") print(f"An error occurred: {e}")
print("item not found") print("item not found")
driver.quit()
return {} return {}
# discount percentage # discount percentage