Selaa lähdekoodia

Fix NameError

Ricardo Garcia 16 vuotta sitten
vanhempi
sitoutus
d1580ed990
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      youtube-dl

+ 1 - 0
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')]