I do not agree, if the user wanted to upload files, it seems
counterintuitive to make it default to no. Most install scripts I've used
all default to yes/proceed
On Dec 10, 2013 6:27 PM, "Michael Tom-Wing" <notifications@github.com>
wrote:

> In src/freeseer/frontend/upload/youtube.py:
>
> > +        # command line arguments neede for Google Python Client need to always be passed in for authentication
> > +        youtube_service.authenticate(flags.client_secrets, flags.token, flags)
> > +        # path doesn't exist, print an error message
> > +        if not os.path.exists(flags.files):
> > +            print "{} does not exit".format(flags.files)
> > +        # path is a folder, upload all videos in the folder
> > +        elif os.path.isdir(flags.files):
> > +            self.upload_folder_cmd_line(youtube_service, flags.files, flags.yes)
> > +        # single file check if it is an uploadable video file
> > +        elif youtube_service.valid_video_file(flags.files):
> > +            if flags.yes:
> > +                self.responseHandler(youtube_service.upload_video(flags.files))
> > +            else:
> > +                response = raw_input(
> > +                    "Are you sure you would like to upload the following file? [Y/n]\n" + flags.files + "\n")
> > +                if response.lower() in ('', 'y', 'yes'):
>
> I think the default answer should be 'no' if nothing is given.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Freeseer/freeseer/pull/402/files#r8252139>
> .
>