mirror of
https://github.com/beetbox/beets.git
synced 2026-02-21 23:03:26 +01:00
fetchart: fix urlopen call
This commit is contained in:
parent
7f2aa44ac6
commit
d271735dd2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue