Fix -s artist missing bug

This commit is contained in:
mrandri19 2017-01-28 17:26:44 +01:00
parent 1e81c8827e
commit c5a5758ce3

View file

@ -116,6 +116,10 @@ def main():
elif args.album: elif args.album:
manager.rip_spotify_list("album") manager.rip_spotify_list("album")
elif args.song and not args.artist:
parser.error("error: must supply -a/--artist if specifying -s/--song")
exit(1)
elif args.song: elif args.song:
manager.rip_mp3() manager.rip_mp3()