aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-05-08 04:36:57 +0600
committerSergey M․ <dstftw@gmail.com>2016-05-08 04:36:57 +0600
commit3e169233daf76cd7585ebac12504f8e624b7693b (patch)
tree84b5186a2280eed8cd5619f85fa933bfc8b5a5f2 /youtube_dl/__init__.py
parentf5436c5d9e4e65790440ada40476712ff430651b (diff)
Expanduser for more options with input files
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 7a0466077..cbd84c3af 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -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: