fetchart: fix urlopen call

This commit is contained in:
Fabrice Laporte 2012-10-28 17:09:39 +01:00
parent 7f2aa44ac6
commit d271735dd2

View file

@ -81,7 +81,7 @@ def art_for_asin(asin):
for index in AMAZON_INDICES:
url = AMAZON_URL % (asin, index)
try:
urlopen(url)
urllib.urlopen(url)
return url
except IOError:
pass # does not exist