Fix #9051 (Amazon cover download appears to be broken)

This commit is contained in:
Kovid Goyal 2011-02-19 14:13:00 -07:00
parent 4715cbf792
commit 05cbc9d919

View File

@ -50,7 +50,7 @@ def to_asin(br, isbn):
else:
asin = isbn
with cache_lock:
asin_cache[isbn] = ans if ans else False
asin_cache[isbn] = asin if asin else False
return asin