diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index 6da3d5b..b48c53d 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -39,6 +39,8 @@ class VideoDownload $this->procBuilder = new ProcessBuilder(); if (!is_file($this->config->youtubedl)) { throw new \Exception("Can't find youtube-dl at ".$this->config->youtubedl); + } elseif (!is_file($this->config->python)) { + throw new \Exception("Can't find Python at ".$this->config->python); } $this->procBuilder->setPrefix( array_merge(