mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Fix NameError
This commit is contained in:
parent
eb0d2909a8
commit
d1580ed990
1 changed files with 1 additions and 0 deletions
|
@ -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')]
|
||||
|
|
Loading…
Reference in a new issue