remove trailing whitespaces

This commit is contained in:
sebthom
2022-10-03 10:31:35 +02:00
parent af8041a1f8
commit a41bdfc27a

View File

@@ -510,7 +510,7 @@ class KleinanzeigenBot(SeleniumMixin):
#############################
if ad_cfg["contact"]["phone"]:
if self.webdriver.find_element(By.ID, "postad-phonenumber").is_displayed():
try:
try:
if not self.webdriver.find_element(By.ID, "postad-phonenumber").is_enabled():
self.webdriver.find_element(By.ID, "phoneNumberVisibility").click()
pause(2000)