commit: d1580ed9908f10d6eb550e1ce8c31d3bc6921570
parent eb0d2909a85dcdaf17635ae15bf61af385a92e2e
Author: Ricardo Garcia <sarbalap+freshmeat@gmail.com>
Date: Sat, 31 Jan 2009 12:07:37 +0100
Fix NameError
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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')]