mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
refact: add comment
This commit is contained in:
@@ -499,6 +499,10 @@ class KleinanzeigenBot(WebScrapingMixin):
|
|||||||
LOG.info("############################################")
|
LOG.info("############################################")
|
||||||
|
|
||||||
async def publish_ad(self, ad_file:str, ad_cfg: dict[str, Any], ad_cfg_orig: dict[str, Any]) -> None:
|
async def publish_ad(self, ad_file:str, ad_cfg: dict[str, Any], ad_cfg_orig: dict[str, Any]) -> None:
|
||||||
|
"""
|
||||||
|
@param ad_cfg: the effective ad config (i.e. with default values applied etc.)
|
||||||
|
@param ad_cfg_orig: the ad config as present in the YAML file
|
||||||
|
"""
|
||||||
await self.assert_free_ad_limit_not_reached()
|
await self.assert_free_ad_limit_not_reached()
|
||||||
|
|
||||||
if self.delete_old_ads:
|
if self.delete_old_ads:
|
||||||
|
|||||||
Reference in New Issue
Block a user