Skip to content

Commit 13fd802

Browse files
committed
removed unwarranted check
1 parent 8937ac9 commit 13fd802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Ytdl/Ytdl.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(array $options)
2929
public function init(array $options)
3030
{
3131
extract($options);
32-
if (isset($binary) && @is_executable($binary)) {
32+
if (!empty($binary)) {
3333
$this->bin = $binary;
3434
} else {
3535
$this->bin = __DIR__ . "/../../bin/yt-dlp"; //Helper::findBinaryPath('ytdl', __DIR__ . "/../../bin/yt-dlp");

0 commit comments

Comments
 (0)