mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
Fixes #91 ShippingCosts not set when specified with cent value
This commit is contained in:
@@ -269,7 +269,7 @@ class KleinanzeigenBot(SeleniumMixin):
|
||||
ad_cfg["category"] = self.categories.get(ad_cfg["category"], ad_cfg["category"])
|
||||
|
||||
if ad_cfg["shipping_costs"]:
|
||||
ad_cfg["shipping_costs"] = str(utils.parse_decimal(ad_cfg["shipping_costs"]))
|
||||
ad_cfg["shipping_costs"] = str(round(utils.parse_decimal(ad_cfg["shipping_costs"]), 2))
|
||||
|
||||
if ad_cfg["images"]:
|
||||
images = []
|
||||
|
||||
Reference in New Issue
Block a user