added running pre task same time as category tasks
This commit is contained in:
1 parent
00d3c12ee0
commit
ae8b204a2c
3 files changed
+25
-18
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user