Merge pull request #34 from kepoorhampond/issue-33

Fix issue-33
This commit is contained in:
Kepoor Hampond 2017-06-13 17:05:24 -07:00 committed by GitHub
commit f95c176d9c
2 changed files with 3 additions and 2 deletions

View file

@ -15,6 +15,7 @@ if args.setup:
elif not os.path.isdir(os.path.expanduser("~/.irs")):
print("Please run `irs --setup` to install the youtube-dl and \
ffmpeg binaries.")
exit(1)
else:
from .ripper import Ripper
Ripper # PyLinter reasons

View file

@ -4,8 +4,8 @@ import os
def setup():
ydl_binaries.download_ffmpeg("~/.irs/bin")
ydl_binaries.update_ydl("~/.irs/bin")
ydl_binaries.download_ffmpeg("~/.irs/bin/")
ydl_binaries.update_ydl("~/.irs/bin/")
config_file = os.path.expanduser("~/.irs/config_.py")
if not os.path.isfile(config_file):