Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mevljas committed Feb 9, 2025
1 parent be38e7e commit f841556
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spider/spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,10 @@ async def run_spider(database_manager: DatabaseManager) -> tuple[dict, bool]:
current_price=new_price,
)

print("New data before merging: ", new_data)

# Merge old and new prices.
old_prices.append(new_price)
new_data = new_data[:3] + (old_prices,) + new_data[4:]

print("New data after merging: ", new_data)

discord_listings[channel].append(new_data)

else:
Expand Down

0 comments on commit f841556

Please sign in to comment.