Skip to content

Commit

Permalink
remove some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mevljas committed Feb 8, 2025
1 parent 801b924 commit 9a8bee0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:
python-bot:
build: .
pull_policy: build
restart: always
env_file:
- stack.env
environment:
Expand Down
4 changes: 3 additions & 1 deletion spider/spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ async def run_spider(database_manager: DatabaseManager) -> tuple[dict, bool]:
listing_id, old_prices = saved_results[nepremicnine_id]

if old_prices[-1] != new_price:
logger.debug("New saved_price detected for %s.", nepremicnine_id)
logger.debug(
"New saved_price detected for %s.", nepremicnine_id
)
await database_manager.add_new_price(
listing_id=listing_id,
current_price=new_price,
Expand Down

0 comments on commit 9a8bee0

Please sign in to comment.