Prompt for file name if it's missing
parent
300f8ef173
commit
525565e882
|
@ -120,8 +120,7 @@ def main():
|
||||||
|
|
||||||
# If they didn't give a filename, then just prompt them. (They probably just double-clicked.)
|
# If they didn't give a filename, then just prompt them. (They probably just double-clicked.)
|
||||||
if not args.file:
|
if not args.file:
|
||||||
print "Enter a file name (e.g. playlists.txt):",
|
args.file = raw_input('Enter a file name (e.g. playlists.txt): ')
|
||||||
args.file = raw_input()
|
|
||||||
|
|
||||||
# Log into the Spotify API.
|
# Log into the Spotify API.
|
||||||
if args.token:
|
if args.token:
|
||||||
|
|
Loading…
Reference in New Issue