Skip to content

Commit

Permalink
change cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
xlcnd committed Jun 17, 2016
1 parent e55a026 commit 46fdde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isbnlib/_cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def cover(isbn):
# check the cache first
cache = metadata_cache
if cache: # pragma: no cover
key = 'img-urls-' + isbn
key = 'img-url-go-' + isbn
try: # pragma: no cover
if cache[key]:
return cache[key]
Expand Down

0 comments on commit 46fdde2

Please sign in to comment.