Skip to content
Permalink
Browse files

fixing bwb new price

  • Loading branch information...
mekarpeles authored and root committed Sep 11, 2019
1 parent 726c4c8 commit 05c94e9b0af6de865ed2292704cbf5d7400e0b02
Showing with 2 additions and 2 deletions.
  1. +2 −2 openlibrary/core/vendors.py
@@ -292,8 +292,8 @@ def _get_betterworldbooks_metadata(isbn):
qlt = 'used'

if new_qty and new_qty[0] and new_qty[0] != '0':
_price = used_price[0] if used_price else None
if price and _price and _price < price:
_price = new_price[0] if new_price else None
if _price and (not price or _price < price):
price = _price
qlt = 'new'

0 comments on commit 05c94e9

Please sign in to comment.
You can’t perform that action at this time.