Album Art Folder Naming fix

This commit is contained in:
Ade
2014-07-18 19:35:40 +12:00
parent 58bc146d11
commit c639d774cf

View File

@@ -542,7 +542,7 @@ def addAlbumArt(artwork, albumpath, release):
album_art_name = album_art_name.replace(' ', '_')
if album_art_name.startswith('.'):
album_art_name = album_art_name.replace(0, '_')
album_art_name = album_art_name.replace(".", "_", 1)
try:
file = open(os.path.join(albumpath, album_art_name), 'wb')