Skip to content

Commit 43939b5

Browse files
authored
Merge pull request #1299 from nextcloud/fix/movinet-wasm-error
fix: Don't error if movinet.enabled=false and wasm=true
2 parents 2a760b8 + dc84b53 commit 43939b5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Command/Classify.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
147147
}
148148

149149
foreach ($this->classifiers as $modelName => $classifier) {
150+
if (!in_array($modelName, $models)) {
151+
continue;
152+
}
150153
try {
151154
$classifier->setMaxExecutionTime(0);
152155
$classifier->classify($queues[$modelName]);

0 commit comments

Comments
 (0)