added running pre task same time as category tasks

This commit is contained in:
TPV committed 2026-07-14 07:35:44 -07:00
1 parent 00d3c12ee0
commit ae8b204a2c
3 files changed
+25 -18

No files matched your search

+5 -1
View File
@@ -217,7 +217,11 @@ def resolve_price_before_drop(
previous_price on a drop, otherwise None.
"""
if previous_price is not None and new_price is not None and new_price < previous_price:
if (
previous_price is not None
and new_price is not None
and new_price < previous_price
):
return previous_price
return None