Expanduser for more options with input files
This commit is contained in:
parent
f5436c5d9e
commit
3e169233da
2 changed files with 2 additions and 1 deletions
|
@ -406,7 +406,7 @@ def _real_main(argv=None):
|
|||
|
||||
try:
|
||||
if opts.load_info_filename is not None:
|
||||
retcode = ydl.download_with_info_file(opts.load_info_filename)
|
||||
retcode = ydl.download_with_info_file(compat_expanduser(opts.load_info_filename))
|
||||
else:
|
||||
retcode = ydl.download(all_urls)
|
||||
except MaxDownloadsReached:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue