Merge pull request #166 from debakarr/master

Skip Check for ffmpeg and shaka-packager if --skip-lectures flag is True
This commit is contained in:
Puyodead1 2023-06-20 09:57:28 -04:00 committed by GitHub
commit 14095b8e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1721,12 +1721,12 @@ def main():
sys.exit(1)
ffmpeg_ret_val = check_for_ffmpeg()
if not ffmpeg_ret_val:
if not ffmpeg_ret_val and not skip_lectures:
logger.fatal("> FFMPEG is missing from your system or path!")
sys.exit(1)
shaka_ret_val = check_for_shaka()
if not shaka_ret_val:
if not shaka_ret_val and not skip_lectures:
logger.fatal("> Shaka Packager is missing from your system or path!")
sys.exit(1)