From e0f4d585dfd316d5834a58a09013ab21bbb77acc Mon Sep 17 00:00:00 2001 From: romanschenk37 <84532681+romanschenk37@users.noreply.github.com> Date: Fri, 11 Mar 2022 21:39:01 +0100 Subject: [PATCH] created Version 1.2 --- Main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Main.py b/Main.py index 4ad94fd..3f741d5 100644 --- a/Main.py +++ b/Main.py @@ -6,6 +6,7 @@ from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from PIL import Image +import os from tkinter import filedialog import time @@ -32,6 +33,8 @@ def search_adresses(adress_list, filename_adresslist, driver): global stopThread global columnIndexes + if(not os.path.exists("screenshots")): + os.makedirs("screenshots", exist_ok=False) for i in range(len(adress_list)): line = adress_list[i]