fix: removed min_amount filter for fl
This commit is contained in:
@@ -14,7 +14,11 @@ def get_offer_skip_reason(
|
|||||||
if exclude_keywords and any(keyword in haystack for keyword in exclude_keywords):
|
if exclude_keywords and any(keyword in haystack for keyword in exclude_keywords):
|
||||||
return "exclude_keyword"
|
return "exclude_keyword"
|
||||||
|
|
||||||
if min_price_amount is not None and (offer.price_amount is None or offer.price_amount < min_price_amount):
|
if (
|
||||||
|
min_price_amount is not None
|
||||||
|
and offer.source != "fl"
|
||||||
|
and (offer.price_amount is None or offer.price_amount < min_price_amount)
|
||||||
|
):
|
||||||
return "min_price_amount"
|
return "min_price_amount"
|
||||||
|
|
||||||
if include_keywords and not any(keyword in haystack for keyword in include_keywords):
|
if include_keywords and not any(keyword in haystack for keyword in include_keywords):
|
||||||
|
|||||||
Reference in New Issue
Block a user