Skip to content

Commit

Permalink
Merge pull request #112 from AuScalableDroneCloud/upstream
Browse files Browse the repository at this point in the history
Support video files
  • Loading branch information
pierotofy authored Jun 6, 2023
2 parents abb5d35 + 0ba1307 commit ba33178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/taskNew.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ module.exports = {
const tmpPath = path.join("tmp", uuid);
const { options, taskName, skipPostProcessing, outputs, dateCreated, fileNames, imagesCount, webhook } = params;

if (fileNames.length < 2){
if (fileNames.length < 1){
throw new Error(`Not enough images (${fileNames.length} files uploaded)`);
}

Expand Down

0 comments on commit ba33178

Please sign in to comment.