fix a couple error messages
This commit is contained in:
parent
80e442c335
commit
cbcafb1f78
@ -31,10 +31,10 @@ def choose_artwork(mp3s, jpgs):
|
|||||||
if len(mp3s) < min_mp3s_for_album:
|
if len(mp3s) < min_mp3s_for_album:
|
||||||
return None
|
return None
|
||||||
if len(jpgs) == 0:
|
if len(jpgs) == 0:
|
||||||
sys.stderr.write("No album artwork found in %s\n" % path)
|
sys.stderr.write("No .jpg files found\n")
|
||||||
return None
|
return None
|
||||||
if len(jpgs) > 1:
|
if len(jpgs) > 1:
|
||||||
sys.stderr.write("Multiple album artwork files found in %s\n" % path)
|
sys.stderr.write("Multiple .jpg album artwork files found\n")
|
||||||
return None
|
return None
|
||||||
return jpgs[0]
|
return jpgs[0]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user