mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
Fix issue-33
This commit is contained in:
parent
a2852c4ea6
commit
beb16da710
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue