Fix tests

This commit is contained in:
Ritiek Malhotra
2019-07-20 21:49:25 +05:30
parent 5ca4317944
commit 69522331df
3 changed files with 4 additions and 4 deletions

View File

@@ -258,7 +258,7 @@ def remove_duplicates(tracks):
def content_available(url):
try:
response = urllib.request.urlopen(url)
except HTTPError:
except urllib.request.HTTPError:
return False
else:
return response.getcode() < 300