check with empty
This commit is contained in:
parent
355dd0f17b
commit
61aa31adda
|
@ -21,8 +21,8 @@
|
|||
$cmd = "python3 y2t.py " . $url . " " . $lang ;
|
||||
|
||||
exec($cmd, $output, $return);
|
||||
echo "<h4> Debug strel(output):";
|
||||
echo strlen($output);
|
||||
echo "<h4> Debug empty(output):";
|
||||
echo empty($output);
|
||||
echo "</h4>";
|
||||
|
||||
if (strlen($output) > 0) {
|
||||
|
|
Loading…
Reference in New Issue