Skip to content

Commit

Permalink
fix: new offers were not sent (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
eikowagenknecht authored Oct 25, 2023
1 parent a708924 commit 982e95d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lootscraper/telegrambot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,10 +1101,10 @@ async def send_new_offers(self, user: User) -> bool:

for offer in offers:
if (
Offer.type == subscription.type
and Offer.source == subscription.source
and Offer.duration == subscription.duration
and Offer.id > subscription.last_offer_id
offer.type == subscription.type
and offer.source == subscription.source
and offer.duration == subscription.duration
and offer.id > subscription.last_offer_id
):
filtered_offers.append(offer)

Expand Down

0 comments on commit 982e95d

Please sign in to comment.