Fix NameError
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sat, 31 Jan 2009 11:07:37 +0000 (12:07 +0100)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:23:45 +0000 (11:23 +0100)
youtube-dl

index 271952af821a682b698255308808d16a6c24e30d..1ad297c26dd62eb484eb576cfb9711404636851e 100755 (executable)
@@ -894,6 +894,7 @@ if __name__ == '__main__':
                (opts, args) = parser.parse_args()
 
                # Batch file verification
+               batchurls = []
                if opts.batchfile is not None:
                        try:
                                batchurls = [line.strip() for line in open(opts.batchfile, 'r')]