mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Replace python requestid_threaded with php equivalent in ProcessReleases class.
This commit is contained in:
@@ -184,8 +184,6 @@ class ProcessReleases
|
||||
$this->deleteUnwantedCollections($groupID);
|
||||
|
||||
$DIR = NN_MISC;
|
||||
$PYTHON = shell_exec('which python3 2>/dev/null');
|
||||
$PYTHON = (empty($PYTHON) ? 'python -OOu' : 'python3 -OOu');
|
||||
|
||||
$totalReleasesAdded = 0;
|
||||
do {
|
||||
@@ -203,7 +201,7 @@ class ProcessReleases
|
||||
if ($this->echoCLI) {
|
||||
$this->pdo->log->doEcho($this->pdo->log->header("Process Releases -> Request id Threaded lookup."));
|
||||
}
|
||||
passthru("$PYTHON ${DIR}update/nix/requestid_threaded.py");
|
||||
passthru("{$DIR}update/nix/multiprocessing/requestid.php");
|
||||
if ($this->echoCLI) {
|
||||
$this->pdo->log->doEcho(
|
||||
$this->pdo->log->primary(
|
||||
|
||||
Reference in New Issue
Block a user