Skip to content

Commit

Permalink
0.15.2 - security downgrade but SC https is maybe broken? or my syste…
Browse files Browse the repository at this point in the history
…m is fucked tx nsa
  • Loading branch information
Rich Jones committed Feb 26, 2015
1 parent 53b6b20 commit 9a99c28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='soundscrape',
version='0.15.1',
version='0.15.2',
packages=['soundscrape'],
install_requires=required,
include_package_data=True,
Expand Down
3 changes: 3 additions & 0 deletions soundscrape/soundscrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ def tag_file(filename, artist, title, year, genre, artwork_url, album=None, trac
audio.save()

if artwork_url:

artwork_url = artwork_url.replace('https', 'http')

mime = 'image/jpeg'
if '.jpg' in artwork_url:
mime = 'image/jpeg'
Expand Down

0 comments on commit 9a99c28

Please sign in to comment.