From 525565e8821d2a74cdeda95a15e03b2600dd1dbb Mon Sep 17 00:00:00 2001 From: Casey Chu Date: Wed, 24 Dec 2014 02:03:15 -0800 Subject: [PATCH] Prompt for file name if it's missing --- spotify-backup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spotify-backup.py b/spotify-backup.py index 406b63e..87e48b6 100644 --- a/spotify-backup.py +++ b/spotify-backup.py @@ -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: