From fa7e595b09eab3591067f34ccfae4a0d2875e758 Mon Sep 17 00:00:00 2001 From: "jules@lens" Date: Mon, 24 Sep 2018 03:05:28 +0200 Subject: task opt --- app/relay/modules/pix2pixhd.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/relay') diff --git a/app/relay/modules/pix2pixhd.js b/app/relay/modules/pix2pixhd.js index 5f7b1c7..d4c00f8 100644 --- a/app/relay/modules/pix2pixhd.js +++ b/app/relay/modules/pix2pixhd.js @@ -233,12 +233,12 @@ const splice = { type: 'perl', script: 'splice.pl', params: (task) => { - console.log(selection) + console.log(task.opt.selection) return [ '--dataset', task.dataset, '--sequence', task.opt.sequence, - '--start_frame', selection.start.i, - '--end_frame', selection.end.i, + '--start_frame', task.opt.selection.start.i, + '--end_frame', task.opt.selection.end.i, '--module', task.module, '--folder_id', task.opt.folder_id, '--endpoint', process.env.API_REMOTE + '/api/file/', -- cgit v1.2.3-70-g09d2