Prompt for file name if it's missing

pull/4/head
Casey Chu 2014-12-24 02:03:15 -08:00
parent 300f8ef173
commit 525565e882
1 changed files with 1 additions and 2 deletions

View File

@ -120,8 +120,7 @@ def main():
# If they didn't give a filename, then just prompt them. (They probably just double-clicked.)
if not args.file:
print "Enter a file name (e.g. playlists.txt):",
args.file = raw_input()
args.file = raw_input('Enter a file name (e.g. playlists.txt): ')
# Log into the Spotify API.
if args.token: