diff --git a/Main.py b/Main.py index 8c13fc2..25d6022 100644 --- a/Main.py +++ b/Main.py @@ -41,7 +41,7 @@ def search_adresses(adress_list, filename_adresslist, driver): for i in range(len(adress_list)): line = adress_list[i] adress = line.split(file_split_char) - if((line != adress_list[0]) & ((adress[20][0:11] != "screenshots"))): + if((line != adress_list[0]) & ((adress[columnIndexes[6]] == ""))): print(adress) search_string = adress[columnIndexes[0]] + " " + adress[columnIndexes[1]] + " " + adress[columnIndexes[2]] + " " + adress[columnIndexes[3]] search_bar = driver.find_element(By.ID, "searchTypeahead1")