Fix log message

This commit is contained in:
Gabriel Augendre 2019-05-28 13:08:46 +02:00 committed by GitHub
parent e63ced82ae
commit 5ab72c1279
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -306,7 +306,7 @@ def isbn_api(request, isbn):
authors = authors.getText().strip() authors = authors.getText().strip()
price = decitre_soup.select('.product-add-to-cart-wrapper div.price span.final-price') price = decitre_soup.select('.product-add-to-cart-wrapper div.price span.final-price')
logger.info(f'Fonud price {price}') logger.info(f'Found price html {price}')
if price: if price:
price = price[0] price = price[0]
price = price.getText().replace('', '').replace(',', '.').strip() price = price.getText().replace('', '').replace(',', '.').strip()