Skip to content

Commit

Permalink
removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Heavenfighter committed Feb 12, 2025
1 parent f6d8c27 commit 014476e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kleinanzeigen_bot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ async def publish_ad(self, ad_file:str, ad_cfg: dict[str, Any], ad_cfg_orig: dic
await self.web_click(By.XPATH, '//*[contains(@class, "ShippingSection")]//*//button[contains(@class, "SelectionButton")]')
await self.web_click(By.CSS_SELECTOR, '[class*="CarrierSelectionModal--Button"]')
await self.__set_shipping_options(ad_cfg)
except TimeoutError as ex:
except TimeoutError:
# try to set special attribute selector (then we have a commercial account)
shipping_value = "ja" if ad_cfg["shipping_type"] == "SHIPPING" else "nein"
await self.web_select(By.XPATH, "//select[contains(@id, '.versand_s')]", shipping_value)
Expand Down

0 comments on commit 014476e

Please sign in to comment.