From 602af2a91c33237fec565fc007a972c3c056c994 Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Wed, 24 May 2017 19:46:27 +0530 Subject: [PATCH] Default number to None --- spotdl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spotdl.py b/spotdl.py index 72a0c33..248fa74 100644 --- a/spotdl.py +++ b/spotdl.py @@ -161,7 +161,7 @@ def fixSong(music_file, meta_tags): audiofile.tag.save(version=(2,3,0)) # Logic behind preparing the song to download to finishing meta-tags -def grabSingle(raw_song, number): +def grabSingle(raw_song, number=None): if number: islist = True else: @@ -260,7 +260,7 @@ while True: print('Enter a Spotify URL or Song Name: ') command = raw_input('>> ') print('') - grabSingle(raw_song=command, number=None) + grabSingle(raw_song=command) print('') except KeyboardInterrupt: graceQuit()