diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index e8f18d28..15e5eb29 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -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')