mirror of
https://github.com/ytdl-org/ytdl-nightly.git
synced 2025-06-05 21:49:13 +02:00
Fix NameError
This commit is contained in:
@@ -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')]
|
||||
|
Reference in New Issue
Block a user