From: Ricardo Garcia Date: Sat, 31 Jan 2009 11:07:37 +0000 (+0100) Subject: Fix NameError X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d1580ed9908f10d6eb550e1ce8c31d3bc6921570;p=youtube-dl Fix NameError --- diff --git a/youtube-dl b/youtube-dl index 271952af8..1ad297c26 100755 --- a/youtube-dl +++ b/youtube-dl @@ -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')]