Fix issue-33

This commit is contained in:
Kepoor Hampond 2017-06-13 17:00:47 -07:00
parent a2852c4ea6
commit beb16da710
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):