summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorjules@lens <julescarbon@gmail.com>2018-09-13 21:28:31 +0200
committerjules@lens <julescarbon@gmail.com>2018-09-13 21:28:31 +0200
commit65e844abd29fb3048f03214157aac9d3f7420498 (patch)
treeee0f957d5d1c0f42cf8ff4458dd3c571027414c2 /app
parentc7f0268ad3d02a72e3639e289ab706fef1bb2645 (diff)
render dir
Diffstat (limited to 'app')
-rw-r--r--app/relay/modules/pix2pixhd.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/relay/modules/pix2pixhd.js b/app/relay/modules/pix2pixhd.js
index 31a3635..c1a2650 100644
--- a/app/relay/modules/pix2pixhd.js
+++ b/app/relay/modules/pix2pixhd.js
@@ -225,6 +225,9 @@ const render_recursive = {
console.log('will not render mov')
return 'CANCEL'
}
+ if (!task.opt.render_dir) {
+ return 'CANCEL';
+ }
const render_dir = task.opt.render_dir.replace('./recursive/', '')
console.log('rendering recursve path:', render_dir)
return [