aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2009-01-31 12:07:37 +0100
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:23:45 +0100
commitd1580ed9908f10d6eb550e1ce8c31d3bc6921570 (patch)
treec1d33847e092d2b44ada1981702cc7e86c621e2a
parenteb0d2909a85dcdaf17635ae15bf61af385a92e2e (diff)
Fix NameError2009.01.31
-rwxr-xr-xyoutube-dl1
1 files changed, 1 insertions, 0 deletions
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')]