浏览代码

Fix NameError

Ricardo Garcia 16 年之前
父节点
当前提交
d1580ed990
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube-dl

+ 1 - 0
youtube-dl

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